DragonFly BSD
DragonFly kernel List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: VFS bug


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Nov 2004 11:30:36 -0800 (PST)

: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]