geom_part
Paul B. Mahol
onemda at gmail.com
Mon May 4 09:28:53 UTC 2009
On 5/4/09, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> 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]:
>
bsdlabel, fdisk and others no longer works correctly, use gpart(8) instead.
If you really want to still use bsdlabel and fdisk you need custom
kernel without geom_part* note that geom_bsd and geom_mbr are going to
be removed soon from CURRENT(because they are not used anymore).
> 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
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
--
Paul
More information about the freebsd-current
mailing list