Garance A Drosihn wrote:
> My own opinion is that if I have explicitly hid a partition,
> then freebsd should ignore it.  There are times that I do this
> specifically so *freebsd* will ignore it, and I don't want
> freebsd trying to second-guess what I meant.

Exactly.  If you wanted the dratted thing "unhidden", then you
would use the tool you "hid" it with to "unhide" it.


> >Specifically, if it has a valid disklabel on the thing, I don't
> >care what partition ID it has on it, I give it to the disklabel
> >handler.  If it has a valid FAT32 FS on it, I give it to the
> >FAT32FS.  If it has a valid FFS superblock on it, I give it to
> >FFS.  Etc..
> 
> The fact that the disklabel is valid does not mean that the
> filesystem in that partition is still valid.  If I hide a
> partition, it may be that I had a very good reason for hiding
> it, and freebsd shouldn't be "giving it" to anything when the
> partition ID is not a recognized ID.

That's really for the FS code to deal with.

Handling it any other way means that a corrupt disk can panic
the machine.  That's a really dumb thing to allow, particularly
with removable media.

That's just a general principle, totally independant of hiding
things; I only point it out because the people who were wanting
the "hidden" partition types known to FreeBSD are totally missing
the point about what a partition is or isn't, and who's responsible
for validating the data therein.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to