Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/e2fsprogs/lsattr.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/e2fsprogs/lsattr.c
r3232 r3621 10 10 * Public License 11 11 */ 12 //config:config LSATTR 13 //config: bool "lsattr" 14 //config: default y 15 //config: select PLATFORM_LINUX 16 //config: help 17 //config: lsattr lists the file attributes on a second extended file system. 12 18 13 /* 14 * History: 15 * 93/10/30 - Creation 16 * 93/11/13 - Replace stat() calls by lstat() to avoid loops 17 * 94/02/27 - Integrated in Ted's distribution 18 * 98/12/29 - Display version info only when -V specified (G M Sipe) 19 */ 19 //applet:IF_LSATTR(APPLET(lsattr, BB_DIR_BIN, BB_SUID_DROP)) 20 21 //kbuild:lib-$(CONFIG_LSATTR) += lsattr.o e2fs_lib.o 20 22 21 23 //usage:#define lsattr_trivial_usage 22 24 //usage: "[-Radlv] [FILE]..." 23 25 //usage:#define lsattr_full_usage "\n\n" 24 //usage: "List file attributes on an ext2 fs\n"26 //usage: "List ext2 file attributes\n" 25 27 //usage: "\n -R Recurse" 26 28 //usage: "\n -a Don't hide entries starting with ." 27 29 //usage: "\n -d List directory entries instead of contents" 28 30 //usage: "\n -l List long flag names" 29 //usage: "\n -v List the file'sversion/generation number"31 //usage: "\n -v List version/generation number" 30 32 31 33 #include "libbb.h"
Note:
See TracChangeset
for help on using the changeset viewer.