geom_part
Dmitry Marakasov
amdmi3 at amdmi3.ru
Sun May 3 22:43:04 UTC 2009
Hi!
I've upgraded one of my boxes to current recently and ran into some
problems with new geom_part.
First, it's impossible to edit bsd label online.
# bsdlabel -e /dev/ad8
[edit]
bsdlabel: Class not found
re-edit the label? [y]:
Setting sysctl kern.geom.debugflags to 16 helps.
Next, it's no longer possible to use nested configuration. If I add
bsd label to, say, /dev/ad8f, no subpartitions (ad8fa, ad8fd ...)
will be shown. They pop up after loading geom_bsd.
Finally, seems like bsd label support is broken:
# bsdlabel /dev/ad8
# /dev/ad8:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 2097152 0 4.2BSD 2048 16384 28528
b: 20971520 2097152 swap
c: 390721968 0 unused 0 0 # "raw" part, don't edit
d: 20971520 23068672 4.2BSD 2048 16384 28528
e: 2097152 44040192 4.2BSD 2048 16384 28528
f: 20971520 46137344 4.2BSD 2048 16384 28528
g: 41943040 67108864 unused 0 0
h: 281670064 109051904 unused 0 0
# ls /dev/ad8*
/dev/ad8 /dev/ad8b /dev/ad8e /dev/ad8g
/dev/ad8a /dev/ad8d /dev/ad8f
No h partition!
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-current
mailing list