fs.rst
changeset 647 100203a7752b
parent 646 902e1273a3ac
child 648 d46bffeb8fa9
--- a/fs.rst	Mon Nov 01 22:33:47 2010 +0200
+++ b/fs.rst	Mon Nov 01 22:39:47 2010 +0200
@@ -44,6 +44,8 @@
 
 * Block device attributes.
 
+Include UUID (Universally Unique Identifier) and labels.
+
   $ ls -l /dev/disk/by-uuid/
 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 46B6-1FD4 -> ../../sdb2
 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 4C30299030298256 -> ../../sda1
@@ -53,6 +55,16 @@
 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 inst -> ../../sda2
 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 media -> ../../sdc5
 
+  $ sudo vol_id /dev/dm-2
+ID_FS_USAGE=filesystem
+ID_FS_TYPE=ext3
+ID_FS_VERSION=1.0
+ID_FS_UUID=f7484fc9-75ec-4e46-8539-50b1e371b7ef
+ID_FS_UUID_ENC=f7484fc9-75ec-4e46-8539-50b1e371b7ef
+ID_FS_LABEL=
+ID_FS_LABEL_ENC=
+ID_FS_LABEL_SAFE=
+
   $ /sbin/blkid     ## from 'e2fsprogs' package
 /dev/sdc2: UUID="46B6-1FD4" TYPE="vfat"
 /dev/sdb2: TYPE="ntfs" UUID="BC48D3FD48D3B47C" LABEL="inst"