summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-11 01:14:09 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-11 01:14:09 +0000
commit174808cedbc069d59e8a2cb570d35d9001c1e51b (patch)
treea665b8f329a5b5f186b2d04d6240593cdb3b339c /e2fsprogs
parenta34f99930daa45d52de31740a54e3989eda83d6f (diff)
downloadbusybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.tar.gz
busybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.tar.bz2
busybox-w32-174808cedbc069d59e8a2cb570d35d9001c1e51b.zip
import tune2fs support
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