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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > in fstab, I'm curious if the IDs in /dev/ufsid change when the partition > 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 (~): -- Brooks [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFNtnQWXY6L6fI4GtQRApCNAJ0WDNl7dyQ7p1z5KiqEPnXoQ6vTyACgmnKO yyltqe2oyD3z0kLEXccdZfo= =fxvR -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110426072822.GB37806>
