Date: Tue, 26 Apr 2011 02:28:22 -0500 From: Brooks Davis <brooks@FreeBSD.org> To: Doug Barton <dougb@FreeBSD.org> Cc: freebsd-fs@FreeBSD.org Subject: Re: Do the IDs under /dev/ufsid change when the partition is newfs'ed? Message-ID: <20110426072822.GB37806@lor.one-eyed-alien.net> In-Reply-To: <4DB5D1BA.5030100@FreeBSD.org> References: <4DB5D1BA.5030100@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110426072822.GB37806>