1 vol_id - probe filesystem and read label and uuid
3 This program is normally called from a udev rule, to provide udev with the
4 filesystem type of a volume and the label and uuid to name a device node.
5 vol_id opens the blockdevice node specified at the commandline. The following
6 commandline switches are supported to specify what vol_id should print:
7 --export export key/value pairs
9 --label filesystem label
11 --uuid filesystem uuid
12 --skip-raid don't probe for raid
13 --probe-all find possibly conflicting signatures
16 vol_id will only return successful if the string asked for, is not
17 empty. All trailing whitespace will be removed, spaces replaced by underscore
20 fstype probe label uuid version
21 --------------------------------------------------
24 reiserfs jr/3.5/3.6/4 * * * *
25 fat (12, 16, 32) * * * *
29 hfs (plus, wrapped) * * * -
45 Raid members are detected to prevent the probing for a filesystem
46 -----------------------------------------------------------------
47 linux raid (md) * * * *
61 To give it a try, you may call it on the commandline:
62 $ extras/volume_id/vol_id --export /dev/sda6
63 ID_FS_USAGE=filesystem
66 ID_FS_UUID=3e999973-00c9-4917-9442-b7633bd95b9e
68 ID_FS_LABEL_SAFE=devel
70 $ extras/volume_id/vol_id --label /dev/sda6
73 $ extras/volume_id/vol_id --type /dev/sda6
77 Any comment/questions/concerns to me:
78 Kay Sievers <kay.sievers@vrfy.org>