From owner-freebsd-geom@FreeBSD.ORG Tue Jul 30 21:41:17 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4CB19975 for ; Tue, 30 Jul 2013 21:41:17 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9395F2C7A for ; Tue, 30 Jul 2013 21:41:16 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r6ULfEa0070964; Tue, 30 Jul 2013 16:41:14 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.7/8.14.7/Submit) id r6ULfE0m070963; Tue, 30 Jul 2013 16:41:14 -0500 (CDT) (envelope-from brooks) Date: Tue, 30 Jul 2013 16:41:14 -0500 From: Brooks Davis To: Rotate 13 Subject: Re: How to disable all GEOM tasting? Message-ID: <20130730214114.GL13659@lor.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S6vg04ofUPzW4qJg" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2013 21:41:17 -0000 --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--