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

Re: VFS bug


From: Michal Belczyk <diavul@xxxxxxxxxxxxx>
Date: Sat, 18 Dec 2004 22:42:14 +0100

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



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