2 * Copyright (C) 2008 Karel Zak <kzak@redhat.com>
4 * This file may be redistributed under the terms of the
5 * GNU Lesser General Public License.
12 struct vxfs_super_block {
17 static int probe_vxfs(blkid_probe pr, const struct blkid_idmag *mag)
19 struct vxfs_super_block *vxs;
21 vxs = blkid_probe_get_sb(pr, mag, struct vxfs_super_block);
25 blkid_probe_sprintf_version(pr, "%u", (unsigned int) vxs->vs_version);
30 const struct blkid_idinfo vxfs_idinfo =
33 .usage = BLKID_USAGE_FILESYSTEM,
34 .probefunc = probe_vxfs,
37 { .magic = "\365\374\001\245", .len = 4, .kboff = 1 },