Re: I am too dumb to understand geom(4)
On Mon, 2013-09-16 at 13:16 +0200, Ivan Voras wrote: > 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/ 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. > > A ... yes. Thank you. I did not install any of the /lib/geom/*.so files into my disk image. Compiling and installing those does the trick. Thank you. Sean signature.asc Description: This is a digitally signed message part
Re: I am too dumb to understand geom(4)
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/ 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. signature.asc Description: OpenPGP digital signature
I am too dumb to understand geom(4)
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/ 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] # kldstat -v|grep g_ 43 g_part_mbr 42 g_part_bsd 44 g_uncompress 38 g_map 41 g_part 19 g_md 35 g_concat 37 g_disk 57 g_class 40 g_label 39 g_vfs 36 g_dev signature.asc Description: This is a digitally signed message part