[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/45113: invalid mknod(2) call succeeds
The following reply was made to PR kern/45113; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: kern/45113: invalid mknod(2) call succeeds
Date: Tue, 5 Jul 2011 00:43:36 +0000
On Mon, Jul 04, 2011 at 09:25:02AM +0000, Jukka Ruohonen wrote:
>> At least for ffs this is not an error. Mode S_IFMT (all one) is used for
>> bad sector management -- see sbin/badsect/badsect.c line 187 for example.
> Thanks for clarification. I do not know much about file systems -- maybe
> dholland@ could comment?
Blah, that's gross. Can we insert something into stat.h to alert
people to this behavior so it doesn't get broken by accident?
David A. Holland
Main Index |
Thread Index |