diff options
author | Karel Zak <kzak@redhat.com> | 2008-05-28 12:25:09 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-28 20:07:17 +0200 |
commit | 2f2f54c5142c8c56441f9b1b307848531a2f2148 (patch) | |
tree | a62d87a794dd0e90c6f878e72669dbfb92e1340b /extras/volume_id/lib/volume_id.c | |
parent | bbf1599bb57795ba3a627b48c2c26589edc584c1 (diff) |
volume_id: enable GFS probing code, add LABEL support
* enables GFS/GFS2 probing code (it's disabled now!)
* adds support for LABELs -- it seems that locktable name is usable as
a LABEL (at least according to libblkid).
* removes extra check of sb_header.mh_format -- nothing in kernel and
blkid checks this superblock entry. It seems that check GFS_MAGIC and
GFS_METATYPE_SB is enough.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'extras/volume_id/lib/volume_id.c')
-rw-r--r-- | extras/volume_id/lib/volume_id.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index bb909c9956..baeaa9f74e 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -70,6 +70,8 @@ static const struct prober prober_filesystem[] = { { volume_id_probe_hpfs, { "hpfs", } }, { volume_id_probe_sysv, { "sysv", "xenix", } }, { volume_id_probe_minix, { "minix", } }, + { volume_id_probe_gfs, { "gfs", } }, + { volume_id_probe_gfs2, { "gfs2", } }, { volume_id_probe_ocfs1, { "ocfs1", } }, { volume_id_probe_ocfs2, { "ocfs2", } }, { volume_id_probe_vxfs, { "vxfs", } }, |