tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: disklabel(8) allows addressing non-existent space

On Fri, 30 Dec 2011, David Laight wrote:
Last time I looked the only thing the i386 'c' partition was used for
was to protect the labelsector.
It wasn't possible to access the disk through it!

On NetBSD/i386, if you mark the "c" partition as "unused" in the disklabel, then you can't access the disk through the "c" partition (you get ENXIO "Device not configured"), but if you mark it "unknown" in the disklabel then you can access the disk.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index