diff options
| author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-26 02:51:29 +0000 |
|---|---|---|
| committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-26 02:51:29 +0000 |
| commit | 7495931c75e3d024efd309f6afa0de0d61a56602 (patch) | |
| tree | 69a866577fc99e3e0c3153f486f22a2e675028a0 /include | |
| parent | 784a7e6c7f37646c30a9dbe8ca2cafb50f7bd41e (diff) | |
| download | busybox-w32-7495931c75e3d024efd309f6afa0de0d61a56602.tar.gz busybox-w32-7495931c75e3d024efd309f6afa0de0d61a56602.tar.bz2 busybox-w32-7495931c75e3d024efd309f6afa0de0d61a56602.zip | |
leftover of e2fsck surgery
git-svn-id: svn://busybox.net/trunk/busybox@17078 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 18 | ||||
| -rw-r--r-- | include/libbb.h | 1 | ||||
| -rw-r--r-- | include/usage.h | 8 |
3 files changed, 14 insertions, 13 deletions
diff --git a/include/applets.h b/include/applets.h index d4a5564b1..8586ffc86 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -102,8 +102,8 @@ USE_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, _BB_DIR_USR_BIN, _BB_SUID_NEVER, | |||
| 102 | USE_DU(APPLET(du, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 102 | USE_DU(APPLET(du, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 103 | USE_DUMPKMAP(APPLET(dumpkmap, _BB_DIR_BIN, _BB_SUID_NEVER)) | 103 | USE_DUMPKMAP(APPLET(dumpkmap, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 104 | USE_APP_DUMPLEASES(APPLET(dumpleases, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 104 | USE_APP_DUMPLEASES(APPLET(dumpleases, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 105 | USE_E2FSCK(APPLET(e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 105 | //USE_E2FSCK(APPLET(e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 106 | USE_E2LABEL(APPLET_NOUSAGE(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 106 | //USE_E2LABEL(APPLET_NOUSAGE(e2label, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 107 | USE_ECHO(APPLET(echo, _BB_DIR_BIN, _BB_SUID_NEVER)) | 107 | USE_ECHO(APPLET(echo, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 108 | USE_ED(APPLET(ed, _BB_DIR_BIN, _BB_SUID_NEVER)) | 108 | USE_ED(APPLET(ed, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 109 | USE_FEATURE_GREP_EGREP_ALIAS(APPLET_NOUSAGE(egrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) | 109 | USE_FEATURE_GREP_EGREP_ALIAS(APPLET_NOUSAGE(egrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| @@ -121,13 +121,13 @@ USE_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
| 121 | USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 121 | USE_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 122 | USE_FEATURE_GREP_FGREP_ALIAS(APPLET_NOUSAGE(fgrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) | 122 | USE_FEATURE_GREP_FGREP_ALIAS(APPLET_NOUSAGE(fgrep, grep, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 123 | USE_FIND(APPLET(find, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 123 | USE_FIND(APPLET(find, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 124 | USE_FINDFS(APPLET_NOUSAGE(findfs, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 124 | //USE_FINDFS(APPLET_NOUSAGE(findfs, tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 125 | USE_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 125 | USE_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 126 | USE_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 126 | USE_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 127 | USE_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 127 | USE_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 128 | USE_FSCK(APPLET(fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 128 | USE_FSCK(APPLET(fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 129 | USE_E2FSCK(APPLET_NOUSAGE(fsck.ext2, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 129 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext2, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 130 | USE_E2FSCK(APPLET_NOUSAGE(fsck.ext3, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 130 | //USE_E2FSCK(APPLET_NOUSAGE(fsck.ext3, e2fsck, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 131 | USE_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)) | 131 | USE_FSCK_MINIX(APPLET_ODDNAME(fsck.minix, fsck_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, fsck_minix)) |
| 132 | USE_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpget)) | 132 | USE_FTPGET(APPLET_ODDNAME(ftpget, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpget)) |
| 133 | USE_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpput)) | 133 | USE_FTPPUT(APPLET_ODDNAME(ftpput, ftpgetput, _BB_DIR_USR_BIN, _BB_SUID_NEVER,ftpput)) |
| @@ -191,10 +191,10 @@ USE_MD5SUM(APPLET_ODDNAME(md5sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, | |||
| 191 | USE_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 191 | USE_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 192 | USE_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 192 | USE_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 193 | USE_MKDIR(APPLET(mkdir, _BB_DIR_BIN, _BB_SUID_NEVER)) | 193 | USE_MKDIR(APPLET(mkdir, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 194 | USE_MKE2FS(APPLET(mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 194 | //USE_MKE2FS(APPLET(mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 195 | USE_MKFIFO(APPLET(mkfifo, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 195 | USE_MKFIFO(APPLET(mkfifo, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 196 | USE_MKE2FS(APPLET_NOUSAGE(mkfs.ext2, mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 196 | //USE_MKE2FS(APPLET_NOUSAGE(mkfs.ext2, mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 197 | USE_MKE2FS(APPLET_NOUSAGE(mkfs.ext3, mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 197 | //USE_MKE2FS(APPLET_NOUSAGE(mkfs.ext3, mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 198 | USE_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, mkfs_minix)) | 198 | USE_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, _BB_DIR_SBIN, _BB_SUID_NEVER, mkfs_minix)) |
| 199 | USE_MKNOD(APPLET(mknod, _BB_DIR_BIN, _BB_SUID_NEVER)) | 199 | USE_MKNOD(APPLET(mknod, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 200 | USE_MKSWAP(APPLET(mkswap, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 200 | USE_MKSWAP(APPLET(mkswap, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| @@ -294,7 +294,7 @@ USE_TR(APPLET(tr, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
| 294 | USE_TRACEROUTE(APPLET(traceroute, _BB_DIR_USR_BIN, _BB_SUID_MAYBE)) | 294 | USE_TRACEROUTE(APPLET(traceroute, _BB_DIR_USR_BIN, _BB_SUID_MAYBE)) |
| 295 | USE_TRUE(APPLET(true, _BB_DIR_BIN, _BB_SUID_NEVER)) | 295 | USE_TRUE(APPLET(true, _BB_DIR_BIN, _BB_SUID_NEVER)) |
| 296 | USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 296 | USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 297 | USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 297 | //USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 298 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 298 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 299 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 299 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
| 300 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) | 300 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/libbb.h b/include/libbb.h index d94dd598e..68e4851db 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -190,6 +190,7 @@ extern int sysinfo(struct sysinfo* info); | |||
| 190 | extern void chomp(char *s); | 190 | extern void chomp(char *s); |
| 191 | extern void trim(char *s); | 191 | extern void trim(char *s); |
| 192 | extern char *skip_whitespace(const char *); | 192 | extern char *skip_whitespace(const char *); |
| 193 | extern char *skip_non_whitespace(const char *); | ||
| 193 | 194 | ||
| 194 | extern const char *bb_mode_string(int mode); | 195 | extern const char *bb_mode_string(int mode); |
| 195 | extern int is_directory(const char *name, int followLinks, struct stat *statBuf); | 196 | extern int is_directory(const char *name, int followLinks, struct stat *statBuf); |
diff --git a/include/usage.h b/include/usage.h index 59b052826..42b51fa81 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -932,7 +932,7 @@ | |||
| 932 | "$ freeramdisk /dev/ram2\n" | 932 | "$ freeramdisk /dev/ram2\n" |
| 933 | 933 | ||
| 934 | #define fsck_trivial_usage \ | 934 | #define fsck_trivial_usage \ |
| 935 | "[-ANPRTV] [ -C [ fd ] ] [-t fstype] [fs-options] [filesys ...]" | 935 | "[-ANPRTV] [ -C fd ] [-t fstype] [fs-options] [filesys ...]" |
| 936 | #define fsck_full_usage \ | 936 | #define fsck_full_usage \ |
| 937 | "Check and repair filesystems" \ | 937 | "Check and repair filesystems" \ |
| 938 | "\n\nOptions:\n" \ | 938 | "\n\nOptions:\n" \ |
| @@ -941,9 +941,9 @@ | |||
| 941 | " -P When using -A, check filesystems in parallel\n" \ | 941 | " -P When using -A, check filesystems in parallel\n" \ |
| 942 | " -R When using -A, skip the root filesystem\n" \ | 942 | " -R When using -A, skip the root filesystem\n" \ |
| 943 | " -T Don't show title on startup\n" \ | 943 | " -T Don't show title on startup\n" \ |
| 944 | " -V Verbose mode\n" \ | 944 | " -V Verbose\n" \ |
| 945 | " -C Write status information to specified filedescriptor\n" \ | 945 | " -C n Write status information to specified filedescriptor\n" \ |
| 946 | " -t List of filesystem types to check" | 946 | " -t type List of filesystem types to check" |
| 947 | 947 | ||
| 948 | #define fsck_minix_trivial_usage \ | 948 | #define fsck_minix_trivial_usage \ |
| 949 | "[-larvsmf] /dev/name" | 949 | "[-larvsmf] /dev/name" |
