From: Linus Torvalds Date: Mon, 16 Jul 2007 17:07:09 GMT Subject: Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris) Message-ID: In-Reply-To: On Mon, 16 Jul 2007, Linus Torvalds wrote: > > Solaris is apparently a buggy piece of crap. > > I'd suggest making a bug-report. ENOTEMPTY is not an optional error. Posix > says "Shall fail". Oh, it was apparetly "unlink()" that corrupts filesystems. Which isn't against Posix, it's just stupid. The "unlink directories" is so old-fashioned that it's not even funny. The whole reason "rmdir()" was created was to *not* have that behaviour in the OS. So I'll have to correct my statement. Please remove the "buggy" from "buggy piece of crap". The rest stands. Linus