]> err.no Git - util-linux/commit
liblkid: export magic strings from raids
authorKarel Zak <kzak@redhat.com>
Wed, 21 Apr 2010 12:24:52 +0000 (14:24 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 21 Apr 2010 13:49:59 +0000 (15:49 +0200)
commitabc67e06783aa1326b99f9ddee820cc495466e6c
tree58af5b38f418912cced901d99eae937c184404f8
parent861902b5c925a16db9846fb810c86efd3c33a93f
liblkid: export magic strings from raids

The library provides detected magic strings by SBMAGIC= and offsets of
the magic strings by SBMAGIC_OFFSET= variables. This patch allows to
support this feature for RAIDs and filesystems where the magic string
is not on fixed position.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 files changed:
shlibs/blkid/src/superblocks/adaptec_raid.c
shlibs/blkid/src/superblocks/ddf_raid.c
shlibs/blkid/src/superblocks/drbd.c
shlibs/blkid/src/superblocks/highpoint_raid.c
shlibs/blkid/src/superblocks/isw_raid.c
shlibs/blkid/src/superblocks/jmicron_raid.c
shlibs/blkid/src/superblocks/linux_raid.c
shlibs/blkid/src/superblocks/lsi_raid.c
shlibs/blkid/src/superblocks/nvidia_raid.c
shlibs/blkid/src/superblocks/promise_raid.c
shlibs/blkid/src/superblocks/silicon_raid.c
shlibs/blkid/src/superblocks/sysv.c
shlibs/blkid/src/superblocks/ufs.c
shlibs/blkid/src/superblocks/via_raid.c
shlibs/blkid/src/superblocks/zfs.c