Subject: Re: FFS reliability problems
To: NetBSD Kernel Technical Discussion List <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 06/14/2002 21:30:47
[ On Friday, June 14, 2002 at 15:52:41 (-0700), Greywolf wrote: ]
> Subject: Re: FFS reliability problems
>
> On Fri, 14 Jun 2002, Greg A. Woods wrote:
>
> # Where'd (or more properly "when did") you get off the boat from? :-)
>
> Oh, dammit, there's that lapse of memory again. I forgot, it was mkdir()
> that wasn't atomic for a while (under 4.1BSD mkdir() was a
> mknod/link/link sequence). My bad. You're right, of course.
:-)
I personally don't remember the details about 4.1BSD, but UNIX 32/V and
all those all the way back to the beginning (or V5 at least :-) (and on
the ATT/USG branch all the way back from SysVr2x.), there was no
mkdir(2) system call, and /bin/mkdir was a setuid binary that did the
mknod,link,link thing.... (well it was makdir,link,link in V5 and V6)
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>