Messages in this thread | | | Date | Mon, 15 Feb 1999 11:09:14 +0100 | From | Martin Tessun <> | Subject | Re: rmdir of one's pwd (was Re: rmdir of a busy directory) |
| |
> |> Haeh?? > |> > |> godzilla% mkdir x > |> godzilla% cd x > |> godzilla% rmdir ../x > |> rmdir: directory "../x": Can't remove current directory or .. > |> godzilla% uname -sr > |> SunOS 5.5.1 > > NFS or local disk? That certainly makes a difference. The kernel in > general does not care, but the filesystem may.
Well, this works so on either NFS and local-disk and RAM-disk. (Perhaps I should try more FS). As I know NFS doesn't walk through the Filesystemstructure (in this case ufs) in any way. It has a seperate entry-point to get the vnodes.
And IMO this is not a Filesystem-feature but a rmdir()-feature in SUNOS 5.5.1 (see truss rmdir ../x or something like this). And as I know the rmdir()-function has nothing to do with the underlying filesystem (I may be wrong nevertheless).
Bye Martin
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |