On Tue, May 16, 2000 at 08:38:09PM +0200, Tomasz Wegrzanowski wrote: > On Mon, May 15, 2000 at 06:15:52PM +0300, Kalle Olavi Niemitalo wrote: > > Tomasz Wegrzanowski <[EMAIL PROTECTED]> writes: > > > One solution is to block ~/1/foo/bar when ~/shadow/foo/bar > > > is opened and return EBUSY on unlink(2) > > > > I think you mean rmdir(2). I don't like EBUSY here. Unix lets > > one unlink files which are being used; the same should work with > > directories. > > &downA; t {t &elikeletter; (0 AM,6 AM)} rmdir(2) == unlink(2) > or some similar math ;-) > > Linux rmdir(2) man says EBUSY should be returned if `char* pathname' is > some process' rootdir or cwdir. > Of course Linux ignores own manual, but I don't have POSIX here to know > what is correct (is POSIX still top-secred ?, nobody made summaries online ?)
The Single Unix Specification seems to be a superset of POSIX whatever version. It is available online (even as tar file!) at: http://www.unix-systems.org/online.html Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server Marcus Brinkmann GNU http://www.gnu.org for public PGP Key [EMAIL PROTECTED], [EMAIL PROTECTED] PGP Key ID 36E7CD09 http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ [EMAIL PROTECTED]