Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2013 14:29:44 -0700
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   I am too dumb to understand geom(4)
Message-ID:  <1379107784.2739.31.camel@localhost>

next in thread | raw e-mail | index | archive | help

--=-CEil6ovgBT7irOMMhaiT
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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     #=20
device          geom_label      #=20
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


--=-CEil6ovgBT7irOMMhaiT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (FreeBSD)

iQEcBAABAgAGBQJSM4PHAAoJEBkJRdwI6BaHVv0H/jPOmRdDW0CPT3TbAE1/UPRc
IiHo0p1Xlse4X9vCklTMBY0OYPNzSGW1YZWTdyfwlEBnVBE2RqrR4topJ+ffG4fI
k7S6jo3cDlg7dt365ZO/2hYVTAyguEJfXrE6Ns1sXCEqpukOJxud4e7hvtP7YnGx
nK4henp0OkMPQS3rcUMC7NFM2Zyhl8/D8M5YoI/QfDM+GcJumUXYtxig5+h6mYcq
ztdWqEehjAqkedHsDkQrvI2/jnJgdTXxzJYz/xt/UIzHZZcbkLypconzi72W79lo
IPKgm3wxfh51rG6mcYbvAJ1wNs/IPQbdCZqWj6lUDpM7ExzZ7k1MaT+4xNk1Tn8=
=7t7B
-----END PGP SIGNATURE-----

--=-CEil6ovgBT7irOMMhaiT--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1379107784.2739.31.camel>