I am too dumb to understand geom(4)

Ivan Voras ivoras at freebsd.org
Mon Sep 16 11:17:16 UTC 2013


On 13/09/2013 23:29, Sean Bruno wrote:
> How does one make geom_concat(4) load at boot, assume two devices are to
> be used as a single concatenated device and then create
> the /dev/<whatever> device for it?
> 
> My MIPS kernconf has:
> 
> # GEOM modules
> device          geom_map        # to get access to the SPI flash
> partitions
> device          geom_uncompress # compressed in-memory filesystem
> hackery!
> device          geom_concat     # 
> device          geom_label      # 
> options         GEOM_CONCAT     # concatenation device support
> options         GEOM_UNCOMPRESS
> options         GEOM_LABEL
> 
> And yet, I am unable to use gconcat to do anthing useful:
> 
> # gconcat
> usage: gconcat help
>        gconcat list [-a] [name ...]
>        gconcat status [-ags] [name ...]
>        gconcat load [-v]
>        gconcat unload [-v]

You are missing the "gconcat label" command. These commands are
implemented by .so helper libraries provided by GEOM classes, in this
case /lib/geom/geom_concat.so, so you need to make sure it exists. It
has nothing to do with the kernel.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20130916/4c944ab5/attachment.sig>


More information about the freebsd-hackers mailing list