aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-06-11 01:14:09 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-06-11 01:14:09 +0000
commit200aa305188642ca584c185c1aebefa44b8b5c42 (patch)
treea665b8f329a5b5f186b2d04d6240593cdb3b339c /e2fsprogs
parente59d107c455372b1dda15a284f66d98bb2cf5c70 (diff)
downloadbusybox-w32-200aa305188642ca584c185c1aebefa44b8b5c42.tar.gz
busybox-w32-200aa305188642ca584c185c1aebefa44b8b5c42.tar.bz2
busybox-w32-200aa305188642ca584c185c1aebefa44b8b5c42.zip
import tune2fs support
git-svn-id: svn://busybox.net/trunk/busybox@10525 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/Config.in13
-rw-r--r--e2fsprogs/Makefile.in25
2 files changed, 35 insertions, 3 deletions
diff --git a/e2fsprogs/Config.in b/e2fsprogs/Config.in
index a2d9fe8a5..0ffd51746 100644
--- a/e2fsprogs/Config.in
+++ b/e2fsprogs/Config.in
@@ -17,4 +17,17 @@ config CONFIG_LSATTR
17 help 17 help
18 lsattr lists the file attributes on a second extended file system. 18 lsattr lists the file attributes on a second extended file system.
19 19
20config CONFIG_TUNE2FS
21 bool "tune2fs (and e2label/findfs)"
22 default n
23 help
24 tune2fs allows the system administrator to adjust various tunable
25 filesystem parameters on Linux ext2/ext3 filesystems.
26
27 e2label will display or change the filesystem label on the ext2
28 filesystem located on device.
29
30 findfs will search the disks in the system looking for a filesystem
31 which has a label matching label or a UUID equal to uuid.
32
20endmenu 33endmenu
diff --git a/e2fsprogs/Makefile.in b/e2fsprogs/Makefile.in
index 5c69fbeef..196172bcf 100644
--- a/e2fsprogs/Makefile.in
+++ b/e2fsprogs/Makefile.in
@@ -25,13 +25,32 @@ srcdir=$(top_srcdir)/e2fsprogs
25 25
26E2FSPROGS_CFLAGS := -I$(E2FSPROGS_DIR) -include $(E2FSPROGS_DIR)e2fsbb.h 26E2FSPROGS_CFLAGS := -I$(E2FSPROGS_DIR) -include $(E2FSPROGS_DIR)e2fsbb.h
27 27
28E2P_SRC := fgetsetflags.c fgetsetversion.c pf.c iod.c 28BLKID_SRC := cache.c dev.c devname.c devno.c getsize.c llseek.c probe.c \
29 read.c resolve.c save.c tag.c
30BLKID_SRCS := $(patsubst %,blkid/%, $(BLKID_SRC))
31BLKID_OBJS := $(patsubst %.c,%.o, $(BLKID_SRCS))
32
33E2P_SRC := fgetsetflags.c fgetsetversion.c pf.c iod.c mntopts.c \
34 feature.c ls.c uuid.c pe.c ostype.c ps.c hashstr.c
29E2P_SRCS := $(patsubst %,e2p/%, $(E2P_SRC)) 35E2P_SRCS := $(patsubst %,e2p/%, $(E2P_SRC))
30E2P_OBJS := $(patsubst %.c,%.o, $(E2P_SRCS)) 36E2P_OBJS := $(patsubst %.c,%.o, $(E2P_SRCS))
31 37
38EXT2FS_SRC := gen_bitmap.c bitops.c ismounted.c mkjournal.c unix_io.c \
39 llseek.c rw_bitmaps.c initialize.c bitmaps.c block.c \
40 ind_block.c inode.c freefs.c alloc_stats.c closefs.c \
41 openfs.c io_manager.c finddev.c read_bb.c alloc.c badblocks.c
42EXT2FS_SRCS := $(patsubst %,ext2fs/%, $(EXT2FS_SRC))
43EXT2FS_OBJS := $(patsubst %.c,%.o, $(EXT2FS_SRCS))
44
45UUID_SRC := compare.c gen_uuid.c pack.c parse.c unpack.c unparse.c \
46 uuid_time.c
47UUID_SRCS := $(patsubst %,uuid/%, $(UUID_SRC))
48UUID_OBJS := $(patsubst %.c,%.o, $(UUID_SRCS))
49
32E2FSPROGS-:= 50E2FSPROGS-:=
33E2FSPROGS-$(CONFIG_CHATTR) += chattr.o $(E2P_OBJS) 51E2FSPROGS-$(CONFIG_CHATTR) += chattr.o $(E2P_OBJS)
34E2FSPROGS-$(CONFIG_LSATTR) += lsattr.o $(E2P_OBJS) 52E2FSPROGS-$(CONFIG_LSATTR) += lsattr.o $(E2P_OBJS)
53E2FSPROGS-$(CONFIG_TUNE2FS) += tune2fs.o util.o $(E2P_OBJS) $(BLKID_OBJS) $(EXT2FS_OBJS) $(UUID_OBJS)
35 54
36libraries-y+=$(E2FSPROGS_DIR)$(E2FSPROGS_AR) 55libraries-y+=$(E2FSPROGS_DIR)$(E2FSPROGS_AR)
37 56