VFS bug
    Michal Belczyk 
    diavul at bsd.krakow.pl
       
    Sat Dec 18 13:44:42 PST 2004
    
    
  
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
    
    
More information about the Kernel
mailing list