1 vol_id - probe filesystem and read label and uuid
3 vol_id will only return with a non-zero exit code if the string asked for,
4 is not empty. All trailing whitespace will be removed, spaces replaced by
5 underscore and slashes ignored.
6 Unmangled values are available in the --export mode as hex-encoded strings
9 $ extras/volume_id/vol_id --export /dev/sda6
10 ID_FS_USAGE=filesystem
13 ID_FS_UUID=3e999973-00c9-4917-9442-b7633bd95b9e
14 ID_FS_UUID_ENC=3e999973-00c9-4917-9442-b7633bd95b9e
18 $ extras/volume_id/vol_id --label /dev/sda6
21 $ extras/volume_id/vol_id --type /dev/sda6
25 fstype probe label uuid version
26 --------------------------------------------------
30 reiserfs jr/3.5/3.6/4 * * * *
31 fat (12, 16, 32) * * * *
35 hfs (plus, wrapped) * * * -
52 Raid members are detected to prevent the probing for a filesystem
53 -----------------------------------------------------------------
54 linux raid (md) * * * *