NetBSD-Users archive

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

Re: Use of disklabel, MBR and GPT



On Thu, Oct 22, 2020 at 02:01:39PM -0400, Greg Troxel wrote:
> disklabels are usually in reserved space at the beginning of an ffs
> filesystem.  I have not heard of them being in the MBR.

There is an interaction between MBR and disklabel location. If you
have a MBR that specifies a NetBSD partition starting at some sector
N the disklabel will be stored/searched at sector N + LABELSECTOR
(where LABELSECTOR is typicaly 1).

So it is inside the NetBSD MBR partition (not in the MBR itself).

Martin


Home | Main Index | Thread Index | Old Index