From owner-freebsd-fs@FreeBSD.ORG Tue Apr 26 14:49:32 2011 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E1C6106566C for ; Tue, 26 Apr 2011 14:49:32 +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]) by mx1.freebsd.org (Postfix) with ESMTP id 79DAB8FC13 for ; Tue, 26 Apr 2011 14:49:31 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.4/8.14.4) with ESMTP id p3Q7SMm8037891; Tue, 26 Apr 2011 02:28:23 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.4/8.14.4/Submit) id p3Q7SMLW037890; Tue, 26 Apr 2011 02:28:22 -0500 (CDT) (envelope-from brooks) Date: Tue, 26 Apr 2011 02:28:22 -0500 From: Brooks Davis To: Doug Barton Message-ID: <20110426072822.GB37806@lor.one-eyed-alien.net> References: <4DB5D1BA.5030100@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <4DB5D1BA.5030100@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 26 Apr 2011 02:28:23 -0500 (CDT) Cc: freebsd-fs@FreeBSD.org Subject: Re: Do the IDs under /dev/ufsid change when the partition is newfs'ed? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 14:49:32 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 25, 2011 at 12:55:38PM -0700, Doug Barton wrote: > INRE the current discussion about labeling and how to refer to devices=20 > in fstab, I'm curious if the IDs in /dev/ufsid change when the partition= =20 > is newfs'ed. A simple experiment confirms the answer is yes: [2:33pm] brooks@stormwind (~): ls -la /dev/ufsid/ total 1 dr-xr-xr-x 2 root wheel 512 Apr 1 21:37 . dr-xr-xr-x 7 root wheel 512 Apr 1 21:37 .. crw-r----- 1 root operator 0, 108 Apr 26 14:33 4db6d7a0726eab90 crw-r----- 1 root operator 0, 123 Apr 26 14:33 4db6d7a0726eab90s1 [2:33pm] brooks@stormwind (~): sudo newfs /dev/ad7 > /dev/null [2:33pm] brooks@stormwind (~): ls -la /dev/ufsid/ total 1 dr-xr-xr-x 2 root wheel 512 Apr 1 21:37 . dr-xr-xr-x 7 root wheel 512 Apr 1 21:37 .. crw-r----- 1 root operator 0, 108 Apr 26 14:33 4db6d7c2389adac2 crw-r----- 1 root operator 0, 123 Apr 26 14:33 4db6d7c2389adac2s1 [2:33pm] brooks@stormwind (~):=20 -- Brooks --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFNtnQWXY6L6fI4GtQRApCNAJ0WDNl7dyQ7p1z5KiqEPnXoQ6vTyACgmnKO yyltqe2oyD3z0kLEXccdZfo= =fxvR -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--