summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-07-22 23:21:27 +0200
committerKarel Zak <kzak@redhat.com>2009-09-15 20:18:48 +0200
commit219227c263ac15de91633f81ab6a536f5c8aa57e (patch)
tree1751da2d2666a41e98406f6e64cd7282bb3dee88
parent71cd5d8a775d98e93f7583210a5b53c52b4ec34f (diff)
downloadutil-linux-old-219227c263ac15de91633f81ab6a536f5c8aa57e.tar.gz
libblkid: move FS/raid stuff to superblocks directory
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--configure.ac2
-rw-r--r--shlibs/blkid/src/Makefile.am6
-rw-r--r--shlibs/blkid/src/probe.c3
-rw-r--r--shlibs/blkid/src/superblocks/Makefile.am (renamed from shlibs/blkid/src/probers/Makefile.am)6
-rw-r--r--shlibs/blkid/src/superblocks/adaptec_raid.c (renamed from shlibs/blkid/src/probers/adaptec_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/btrfs.c (renamed from shlibs/blkid/src/probers/btrfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/cramfs.c (renamed from shlibs/blkid/src/probers/cramfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/ddf_raid.c (renamed from shlibs/blkid/src/probers/ddf_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/ext.c (renamed from shlibs/blkid/src/probers/ext.c)0
-rw-r--r--shlibs/blkid/src/superblocks/gfs.c (renamed from shlibs/blkid/src/probers/gfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/hfs.c (renamed from shlibs/blkid/src/probers/hfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/highpoint_raid.c (renamed from shlibs/blkid/src/probers/highpoint_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/hpfs.c (renamed from shlibs/blkid/src/probers/hpfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/iso9660.c (renamed from shlibs/blkid/src/probers/iso9660.c)0
-rw-r--r--shlibs/blkid/src/superblocks/isw_raid.c (renamed from shlibs/blkid/src/probers/isw_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/jfs.c (renamed from shlibs/blkid/src/probers/jfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/jmicron_raid.c (renamed from shlibs/blkid/src/probers/jmicron_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/linux_raid.c (renamed from shlibs/blkid/src/probers/linux_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/lsi_raid.c (renamed from shlibs/blkid/src/probers/lsi_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/luks.c (renamed from shlibs/blkid/src/probers/luks.c)0
-rw-r--r--shlibs/blkid/src/superblocks/lvm.c (renamed from shlibs/blkid/src/probers/lvm.c)0
-rw-r--r--shlibs/blkid/src/superblocks/minix.c (renamed from shlibs/blkid/src/probers/minix.c)0
-rw-r--r--shlibs/blkid/src/superblocks/netware.c (renamed from shlibs/blkid/src/probers/netware.c)0
-rw-r--r--shlibs/blkid/src/superblocks/ntfs.c (renamed from shlibs/blkid/src/probers/ntfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/nvidia_raid.c (renamed from shlibs/blkid/src/probers/nvidia_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/ocfs.c (renamed from shlibs/blkid/src/probers/ocfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/promise_raid.c (renamed from shlibs/blkid/src/probers/promise_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/reiserfs.c (renamed from shlibs/blkid/src/probers/reiserfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/romfs.c (renamed from shlibs/blkid/src/probers/romfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/silicon_raid.c (renamed from shlibs/blkid/src/probers/silicon_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/squashfs.c (renamed from shlibs/blkid/src/probers/squashfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/superblocks.h (renamed from shlibs/blkid/src/probers/probers.h)0
-rw-r--r--shlibs/blkid/src/superblocks/swap.c (renamed from shlibs/blkid/src/probers/swap.c)0
-rw-r--r--shlibs/blkid/src/superblocks/sysv.c (renamed from shlibs/blkid/src/probers/sysv.c)0
-rw-r--r--shlibs/blkid/src/superblocks/udf.c (renamed from shlibs/blkid/src/probers/udf.c)0
-rw-r--r--shlibs/blkid/src/superblocks/ufs.c (renamed from shlibs/blkid/src/probers/ufs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/vfat.c (renamed from shlibs/blkid/src/probers/vfat.c)0
-rw-r--r--shlibs/blkid/src/superblocks/via_raid.c (renamed from shlibs/blkid/src/probers/via_raid.c)0
-rw-r--r--shlibs/blkid/src/superblocks/vxfs.c (renamed from shlibs/blkid/src/probers/vxfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/xfs.c (renamed from shlibs/blkid/src/probers/xfs.c)0
-rw-r--r--shlibs/blkid/src/superblocks/zfs.c (renamed from shlibs/blkid/src/probers/zfs.c)0
41 files changed, 9 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 7e13a61e..091d76b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -921,7 +921,7 @@ schedutils/Makefile
shlibs/blkid/blkid.pc
shlibs/blkid/Makefile
shlibs/blkid/src/Makefile
-shlibs/blkid/src/probers/Makefile
+shlibs/blkid/src/superblocks/Makefile
shlibs/uuid/uuid.pc
shlibs/uuid/Makefile
shlibs/uuid/man/Makefile
diff --git a/shlibs/blkid/src/Makefile.am b/shlibs/blkid/src/Makefile.am
index bd040ce9..10d1baa8 100644
--- a/shlibs/blkid/src/Makefile.am
+++ b/shlibs/blkid/src/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/include-Makefile.am
-SUBDIRS = probers .
+SUBDIRS = superblocks .
common_ldadd =
common_cflags =
@@ -24,7 +24,7 @@ blkidinc_HEADERS = blkid.h
usrlib_exec_LTLIBRARIES = libblkid.la
libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c \
probe.c read.c resolve.c save.c tag.c version.c verify.c \
- encode.c blkid.h list.h blkidP.h probers/probers.h \
+ encode.c blkid.h list.h blkidP.h superblocks/superblocks.h \
config.c evaluate.c \
$(blkidinc_HEADERS) \
$(top_srcdir)/lib/blkdev.c \
@@ -32,7 +32,7 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c \
$(top_srcdir)/lib/canonicalize.c \
$(top_srcdir)/lib/md5.c
-libblkid_la_LIBADD = probers/libblkid_probers.la $(common_ldadd)
+libblkid_la_LIBADD = superblocks/libblkid_superblocks.la $(common_ldadd)
libblkid_la_DEPENDENCIES = $(libblkid_la_LIBADD) blkid.sym
libblkid_la_LDFLAGS = -Wl,--version-script=$(ul_libblkid_srcdir)/blkid.sym \
diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c
index 10fcb003..4677389e 100644
--- a/shlibs/blkid/src/probe.c
+++ b/shlibs/blkid/src/probe.c
@@ -36,7 +36,8 @@
#include "blkdev.h"
#include "blkidP.h"
-#include "probers/probers.h"
+
+#include "superblocks/superblocks.h"
static const struct blkid_idinfo *idinfos[] =
{
diff --git a/shlibs/blkid/src/probers/Makefile.am b/shlibs/blkid/src/superblocks/Makefile.am
index 4591db6a..07508702 100644
--- a/shlibs/blkid/src/probers/Makefile.am
+++ b/shlibs/blkid/src/superblocks/Makefile.am
@@ -2,9 +2,9 @@ include $(top_srcdir)/config/include-Makefile.am
AM_CPPFLAGS += -I$(ul_libblkid_srcdir)
-noinst_LTLIBRARIES = libblkid_probers.la
-libblkid_probers_la_SOURCES = \
- probers.h \
+noinst_LTLIBRARIES = libblkid_superblocks.la
+libblkid_superblocks_la_SOURCES = \
+ superblocks.h \
cramfs.c \
swap.c \
adaptec_raid.c \
diff --git a/shlibs/blkid/src/probers/adaptec_raid.c b/shlibs/blkid/src/superblocks/adaptec_raid.c
index 5e8b3a75..5e8b3a75 100644
--- a/shlibs/blkid/src/probers/adaptec_raid.c
+++ b/shlibs/blkid/src/superblocks/adaptec_raid.c
diff --git a/shlibs/blkid/src/probers/btrfs.c b/shlibs/blkid/src/superblocks/btrfs.c
index 3205e3d9..3205e3d9 100644
--- a/shlibs/blkid/src/probers/btrfs.c
+++ b/shlibs/blkid/src/superblocks/btrfs.c
diff --git a/shlibs/blkid/src/probers/cramfs.c b/shlibs/blkid/src/superblocks/cramfs.c
index 0ea124b3..0ea124b3 100644
--- a/shlibs/blkid/src/probers/cramfs.c
+++ b/shlibs/blkid/src/superblocks/cramfs.c
diff --git a/shlibs/blkid/src/probers/ddf_raid.c b/shlibs/blkid/src/superblocks/ddf_raid.c
index 41d6e123..41d6e123 100644
--- a/shlibs/blkid/src/probers/ddf_raid.c
+++ b/shlibs/blkid/src/superblocks/ddf_raid.c
diff --git a/shlibs/blkid/src/probers/ext.c b/shlibs/blkid/src/superblocks/ext.c
index c27411d2..c27411d2 100644
--- a/shlibs/blkid/src/probers/ext.c
+++ b/shlibs/blkid/src/superblocks/ext.c
diff --git a/shlibs/blkid/src/probers/gfs.c b/shlibs/blkid/src/superblocks/gfs.c
index 584561cf..584561cf 100644
--- a/shlibs/blkid/src/probers/gfs.c
+++ b/shlibs/blkid/src/superblocks/gfs.c
diff --git a/shlibs/blkid/src/probers/hfs.c b/shlibs/blkid/src/superblocks/hfs.c
index 4cdef0ee..4cdef0ee 100644
--- a/shlibs/blkid/src/probers/hfs.c
+++ b/shlibs/blkid/src/superblocks/hfs.c
diff --git a/shlibs/blkid/src/probers/highpoint_raid.c b/shlibs/blkid/src/superblocks/highpoint_raid.c
index c7c92db4..c7c92db4 100644
--- a/shlibs/blkid/src/probers/highpoint_raid.c
+++ b/shlibs/blkid/src/superblocks/highpoint_raid.c
diff --git a/shlibs/blkid/src/probers/hpfs.c b/shlibs/blkid/src/superblocks/hpfs.c
index 2f5f0d19..2f5f0d19 100644
--- a/shlibs/blkid/src/probers/hpfs.c
+++ b/shlibs/blkid/src/superblocks/hpfs.c
diff --git a/shlibs/blkid/src/probers/iso9660.c b/shlibs/blkid/src/superblocks/iso9660.c
index ca53e3ae..ca53e3ae 100644
--- a/shlibs/blkid/src/probers/iso9660.c
+++ b/shlibs/blkid/src/superblocks/iso9660.c
diff --git a/shlibs/blkid/src/probers/isw_raid.c b/shlibs/blkid/src/superblocks/isw_raid.c
index f9ae7453..f9ae7453 100644
--- a/shlibs/blkid/src/probers/isw_raid.c
+++ b/shlibs/blkid/src/superblocks/isw_raid.c
diff --git a/shlibs/blkid/src/probers/jfs.c b/shlibs/blkid/src/superblocks/jfs.c
index 5d9b39ac..5d9b39ac 100644
--- a/shlibs/blkid/src/probers/jfs.c
+++ b/shlibs/blkid/src/superblocks/jfs.c
diff --git a/shlibs/blkid/src/probers/jmicron_raid.c b/shlibs/blkid/src/superblocks/jmicron_raid.c
index ae852f8f..ae852f8f 100644
--- a/shlibs/blkid/src/probers/jmicron_raid.c
+++ b/shlibs/blkid/src/superblocks/jmicron_raid.c
diff --git a/shlibs/blkid/src/probers/linux_raid.c b/shlibs/blkid/src/superblocks/linux_raid.c
index a5926561..a5926561 100644
--- a/shlibs/blkid/src/probers/linux_raid.c
+++ b/shlibs/blkid/src/superblocks/linux_raid.c
diff --git a/shlibs/blkid/src/probers/lsi_raid.c b/shlibs/blkid/src/superblocks/lsi_raid.c
index d9ac4e12..d9ac4e12 100644
--- a/shlibs/blkid/src/probers/lsi_raid.c
+++ b/shlibs/blkid/src/superblocks/lsi_raid.c
diff --git a/shlibs/blkid/src/probers/luks.c b/shlibs/blkid/src/superblocks/luks.c
index 2fe4ff3b..2fe4ff3b 100644
--- a/shlibs/blkid/src/probers/luks.c
+++ b/shlibs/blkid/src/superblocks/luks.c
diff --git a/shlibs/blkid/src/probers/lvm.c b/shlibs/blkid/src/superblocks/lvm.c
index d8edc37a..d8edc37a 100644
--- a/shlibs/blkid/src/probers/lvm.c
+++ b/shlibs/blkid/src/superblocks/lvm.c
diff --git a/shlibs/blkid/src/probers/minix.c b/shlibs/blkid/src/superblocks/minix.c
index b29b9a42..b29b9a42 100644
--- a/shlibs/blkid/src/probers/minix.c
+++ b/shlibs/blkid/src/superblocks/minix.c
diff --git a/shlibs/blkid/src/probers/netware.c b/shlibs/blkid/src/superblocks/netware.c
index 722506f8..722506f8 100644
--- a/shlibs/blkid/src/probers/netware.c
+++ b/shlibs/blkid/src/superblocks/netware.c
diff --git a/shlibs/blkid/src/probers/ntfs.c b/shlibs/blkid/src/superblocks/ntfs.c
index 55a186a3..55a186a3 100644
--- a/shlibs/blkid/src/probers/ntfs.c
+++ b/shlibs/blkid/src/superblocks/ntfs.c
diff --git a/shlibs/blkid/src/probers/nvidia_raid.c b/shlibs/blkid/src/superblocks/nvidia_raid.c
index 76361763..76361763 100644
--- a/shlibs/blkid/src/probers/nvidia_raid.c
+++ b/shlibs/blkid/src/superblocks/nvidia_raid.c
diff --git a/shlibs/blkid/src/probers/ocfs.c b/shlibs/blkid/src/superblocks/ocfs.c
index f9bd11aa..f9bd11aa 100644
--- a/shlibs/blkid/src/probers/ocfs.c
+++ b/shlibs/blkid/src/superblocks/ocfs.c
diff --git a/shlibs/blkid/src/probers/promise_raid.c b/shlibs/blkid/src/superblocks/promise_raid.c
index 29540092..29540092 100644
--- a/shlibs/blkid/src/probers/promise_raid.c
+++ b/shlibs/blkid/src/superblocks/promise_raid.c
diff --git a/shlibs/blkid/src/probers/reiserfs.c b/shlibs/blkid/src/superblocks/reiserfs.c
index f9a46787..f9a46787 100644
--- a/shlibs/blkid/src/probers/reiserfs.c
+++ b/shlibs/blkid/src/superblocks/reiserfs.c
diff --git a/shlibs/blkid/src/probers/romfs.c b/shlibs/blkid/src/superblocks/romfs.c
index b5c20ab7..b5c20ab7 100644
--- a/shlibs/blkid/src/probers/romfs.c
+++ b/shlibs/blkid/src/superblocks/romfs.c
diff --git a/shlibs/blkid/src/probers/silicon_raid.c b/shlibs/blkid/src/superblocks/silicon_raid.c
index a65d79a8..a65d79a8 100644
--- a/shlibs/blkid/src/probers/silicon_raid.c
+++ b/shlibs/blkid/src/superblocks/silicon_raid.c
diff --git a/shlibs/blkid/src/probers/squashfs.c b/shlibs/blkid/src/superblocks/squashfs.c
index 74f53bfb..74f53bfb 100644
--- a/shlibs/blkid/src/probers/squashfs.c
+++ b/shlibs/blkid/src/superblocks/squashfs.c
diff --git a/shlibs/blkid/src/probers/probers.h b/shlibs/blkid/src/superblocks/superblocks.h
index 78dbd406..78dbd406 100644
--- a/shlibs/blkid/src/probers/probers.h
+++ b/shlibs/blkid/src/superblocks/superblocks.h
diff --git a/shlibs/blkid/src/probers/swap.c b/shlibs/blkid/src/superblocks/swap.c
index c289488a..c289488a 100644
--- a/shlibs/blkid/src/probers/swap.c
+++ b/shlibs/blkid/src/superblocks/swap.c
diff --git a/shlibs/blkid/src/probers/sysv.c b/shlibs/blkid/src/superblocks/sysv.c
index 933163a2..933163a2 100644
--- a/shlibs/blkid/src/probers/sysv.c
+++ b/shlibs/blkid/src/superblocks/sysv.c
diff --git a/shlibs/blkid/src/probers/udf.c b/shlibs/blkid/src/superblocks/udf.c
index 5f4046d6..5f4046d6 100644
--- a/shlibs/blkid/src/probers/udf.c
+++ b/shlibs/blkid/src/superblocks/udf.c
diff --git a/shlibs/blkid/src/probers/ufs.c b/shlibs/blkid/src/superblocks/ufs.c
index fe9870d8..fe9870d8 100644
--- a/shlibs/blkid/src/probers/ufs.c
+++ b/shlibs/blkid/src/superblocks/ufs.c
diff --git a/shlibs/blkid/src/probers/vfat.c b/shlibs/blkid/src/superblocks/vfat.c
index a83175c0..a83175c0 100644
--- a/shlibs/blkid/src/probers/vfat.c
+++ b/shlibs/blkid/src/superblocks/vfat.c
diff --git a/shlibs/blkid/src/probers/via_raid.c b/shlibs/blkid/src/superblocks/via_raid.c
index 22022fdd..22022fdd 100644
--- a/shlibs/blkid/src/probers/via_raid.c
+++ b/shlibs/blkid/src/superblocks/via_raid.c
diff --git a/shlibs/blkid/src/probers/vxfs.c b/shlibs/blkid/src/superblocks/vxfs.c
index 7a27b6c9..7a27b6c9 100644
--- a/shlibs/blkid/src/probers/vxfs.c
+++ b/shlibs/blkid/src/superblocks/vxfs.c
diff --git a/shlibs/blkid/src/probers/xfs.c b/shlibs/blkid/src/superblocks/xfs.c
index fa7914e2..fa7914e2 100644
--- a/shlibs/blkid/src/probers/xfs.c
+++ b/shlibs/blkid/src/superblocks/xfs.c
diff --git a/shlibs/blkid/src/probers/zfs.c b/shlibs/blkid/src/superblocks/zfs.c
index 7d39034f..7d39034f 100644
--- a/shlibs/blkid/src/probers/zfs.c
+++ b/shlibs/blkid/src/superblocks/zfs.c