Subject: Re: Trailing '/' to mkdir(2) revisited
To: Matthew Mondor <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 06/24/2003 02:53:52
[ On Tuesday, June 24, 2003 at 00:30:39 (-0400), Matthew Mondor wrote: ]
> Subject: Re: Trailing '/' to mkdir(2) revisited
> > I know this has been discussed before and I don't want to stir up a
> > flame fest, however NetBSD is getting a bit lonely in its refusal to
> > accept a trailing '/' on a path supplied to mkdir(2).
> > 4922 a3 CALL mkdir(0x804a580,0x1ff)
> > 4922 a3 NAMI "fubar/"
> > 4922 a3 RET mkdir -1 errno 2 No such file or directory
> I also noticed that umount does not permit a trailing slash on NetBSD but
> that Linux does, anyone know about other such operating systems that do?
_ALL_ systems based on traditional Unix _ignore_ _all_ trailing slashes
on _all_ pathanmes for all system calls.
Greg A. Woods
+1 416 218-0098; <email@example.com>; <firstname.lastname@example.org>
Planix, Inc. <email@example.com>; VE3TCP; Secrets of the Weird <firstname.lastname@example.org>