Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris)
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 16, 2007, 17:07 UTC
- Message-ID
- <alpine.LFD.0.999.0707161004550.20061@woody.linux-foundation.org>
- In-Reply-To
- <alpine.LFD.0.999.0707161001300.20061@woody.linux-foundation.org>
On Mon, 16 Jul 2007, Linus Torvalds wrote:
Show 5 quoted lines
> > 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