Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 16:41:14 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Rotate 13 <rabgvzr@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: How to disable all GEOM tasting?
Message-ID:  <20130730214114.GL13659@lor.one-eyed-alien.net>
In-Reply-To: <CADBSp1fcO9Eb7nQXDQPghd0ModKuAtKBiwHfS80h_njn10U8Gg@mail.gmail.com>
References:  <CADBSp1fcO9Eb7nQXDQPghd0ModKuAtKBiwHfS80h_njn10U8Gg@mail.gmail.com>

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

--S6vg04ofUPzW4qJg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 29, 2013 at 05:14:04PM +0000, Rotate 13 wrote:
> How to disable *all* GEOM tasting of newly-attached devices?  I looked
> through the manuals, searched web, grepped sysctl -ad.  I only find
> sysctl to disable all tasting for graid (kern.geom.raid.enable).
>=20
> Example, if I have removable drive I want to pop in and access from
> userland with open("/dev/foo0", O_RDONLY); without various GEOM
> modules first trying to understand.

As far as I know there is no way to do this, but the existence of
partition tables shouldn't have any effect on your ability to open the raw
device as long as you haven't configured something in devd or similar to
open those partitions.

-- Brooks

--S6vg04ofUPzW4qJg
Content-Type: application/pgp-signature

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

iD8DBQFR+DL3XY6L6fI4GtQRAiuKAJoCgY53Le2/PEqOCY02vY1/PUjCSwCgyA2L
D/vyMbiKTQWNkR3KE6mDLWY=
=SgU6
-----END PGP SIGNATURE-----

--S6vg04ofUPzW4qJg--



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