Subject: Re: kern/4099: Gather coredumps in one place
To: None <current-users@NetBSD.ORG,>
From: Wolfgang Solfrank <>
List: current-users
Date: 09/09/1997 18:18:22
> There's no way to get the current directory's name from the vnode
> pointer?

The current working directory doesn't need to have a name.  E.g., try the

$ cd /tmp
$ mkdir xxx
$ cd xxx
$ rmdir /tmp/xxx
$ pwd
$ /bin/pwd
pwd: No such file or directory

pwd knows the path only because it is a special hack in the shell.  The
binary /bin/pwd cannot find out the path to the current directory, because
there is none.

ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800