Do the IDs under /dev/ufsid change when the partition is
newfs'ed?
Brooks Davis
brooks at FreeBSD.org
Tue Apr 26 14:49:32 UTC 2011
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 at 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 at stormwind (~): sudo newfs /dev/ad7 > /dev/null
[2:33pm] brooks at 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 at stormwind (~):
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110426/7286a86d/attachment.pgp
More information about the freebsd-fs
mailing list