Re: VFS bug

看板DFBSD_kernel作者時間21年前 (2004/12/19 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
On Sun, Nov 28, 2004 at 11:30:36AM -0800, Matthew Dillon wrote: > Once a directory is rmdir'd, that's it... it's dead, even if you are > CD'd into it. Perhaps I am missing something, but according to POSIX (IEEE 1003.1, System Interfaces, Issue 6, p. 1248): SYNOPSIS #include <unistd.h> int rmdir(const char *path); DESCRIPTION ... If the directory is the root directory or the current working directory of any process, it is unspecified whether the function succeeds, or whether it shall fail and set errno to [EBUSY]. ... If the path argument refers to a path whose final component is either dot or dot-dot, rmdir() shall fail. Or is this case closed and i should try to fix pax? -- Michal Belczyk
文章代碼(AID): #11nAYc00 (DFBSD_kernel)
文章代碼(AID): #11nAYc00 (DFBSD_kernel)