[patch] NetBSD disklabel support for geom_bsd

Dag-Erling Smørgrav des at des.no
Fri Mar 17 15:13:37 UTC 2006


Dmitry Pryanishnikov <dmitry at atlantis.dp.ua> writes:
> 1) NetBSD people extended partition table to 16 entries vs. our 8. That's OK,
>    we have place for 22 entries within 512-byte sector for disklabel offset 0,
>    and 18 for offset 64 bytes (Alpha's case).
>
> 2) (most important) NetBSD disklabel describes partitions not slice-relative
>    (like ours), but the whole device-relative. They have no slice devices, so
>    their disklabel actually duplicates functionality of device slice
>    table, and describes both NetBSD partitions and other slices as partitions.

I believe we already support that - we did it the same way ourselves
prior to GEOM, and geom_bsd should still have compat shims for old
labels.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list