chiark / gitweb /
udevadm: settle - fix typo
[elogind.git] / extras / volume_id / README
1 vol_id - probe filesystem and read label and uuid
2
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
7 in *_ENC= keys.
8
9   $ extras/volume_id/vol_id --export /dev/sda6
10   ID_FS_USAGE=filesystem
11   ID_FS_TYPE=ext3
12   ID_FS_VERSION=1.0
13   ID_FS_UUID=3e999973-00c9-4917-9442-b7633bd95b9e
14   ID_FS_UUID_ENC=3e999973-00c9-4917-9442-b7633bd95b9e
15   ID_FS_LABEL=devel
16   ID_FS_LABEL_ENC=devel
17
18   $ extras/volume_id/vol_id --label /dev/sda6
19   devel
20
21   $ extras/volume_id/vol_id --type /dev/sda6
22   ext3
23
24
25 fstype                 probe  label  uuid  version
26 --------------------------------------------------
27 linux swap             *      *      *     *
28 btrfs                  *      *      *     -
29 ext                    *      *      *     *
30 reiserfs jr/3.5/3.6/4  *      *      *     *
31 fat (12, 16, 32)       *      *      *     *
32 ntfs                   *      *      *     *
33 jfs                    *      *      *     -
34 xfs                    *      *      *     -
35 hfs (plus, wrapped)    *      *      *     -
36 udf                    *      *      -     -
37 iso9660                *      *      -     -
38 ufs                    *      -      -     -
39 cramfs                 *      *      -     -
40 sysv                   *      *      -     *
41 luks                   *      -      *     -
42 hpfs                   *      *      -     -
43 romfs                  *      *      -     -
44 squashfs               *      -      -     -
45 minix                  *      -      -     *
46 ocfs (1, 2)            *      *      *     *
47 vxfs                   *      -      -     *
48 nss (netware)          *      -      *     *
49 gfs, gfs2              *      *      *     -
50 oracleasm              *      *      -     -
51
52 Raid members are detected to prevent the probing for a filesystem
53 -----------------------------------------------------------------
54 linux raid (md)        *      *      *     *
55 LVM 1                  *      -      -     -
56 LVM 2                  *      -      -     *
57 ddf                    *      -      *     *
58 highpoint              *      -      -     -
59 isw_raid               *      -      -     -
60 lsi_raid               *      -      -     -
61 nvidia_raid            *      -      -     -
62 promise_raid           *      -      -     -
63 silicon_raid           *      -      -     -
64 via_raid               *      -      -     -
65 jmicron                *      -      -     -
66 adaptec                *      -      -     -