Re: VFS bug

看板DFBSD_kernel作者時間21年前 (2004/11/29 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
:Shouldn't `mkdir /tmp/aaa && cd /tmp/aaa && rmdir .` fail? : :-- :Michal Belczyk I'm not sure what pax is trying to do there, but it looks like something is rmdir'ing the directory you are CD'd into. If the directory is not empty then the rmdir will fail which is why creating the dummy file seemms to fix the problem. Once a directory is rmdir'd, that's it... it's dead, even if you are CD'd into it. Could you ktrace the operation (ktrace -f /tmp/kt.out -i pax ....) and put the trace file up somewhere where we can download it (it will be too large to post) ? -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11gYv_00 (DFBSD_kernel)
文章代碼(AID): #11gYv_00 (DFBSD_kernel)