Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/e2fsprogs/chattr.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/chattr.c
r3232 r3621 10 10 * Public License 11 11 */ 12 //config:config CHATTR 13 //config: bool "chattr" 14 //config: default y 15 //config: help 16 //config: chattr changes the file attributes on a second extended file system. 12 17 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 - Ignore symlinks when working recursively (G M Sipe) 19 * 98/12/29 - Display version info only when -V specified (G M Sipe) 20 */ 18 //applet:IF_CHATTR(APPLET(chattr, BB_DIR_BIN, BB_SUID_DROP)) 19 20 //kbuild:lib-$(CONFIG_CHATTR) += chattr.o e2fs_lib.o 21 21 22 22 //usage:#define chattr_trivial_usage 23 23 //usage: "[-R] [-+=AacDdijsStTu] [-v VERSION] [FILE]..." 24 24 //usage:#define chattr_full_usage "\n\n" 25 //usage: "Change file attributes on an ext2 fs\n"25 //usage: "Change ext2 file attributes\n" 26 26 //usage: "\nModifiers:" 27 //usage: "\n - Remove attributes" 28 //usage: "\n + Add attributes" 29 //usage: "\n = Set attributes" 27 //usage: "\n -,+,= Remove/add/set attributes" 30 28 //usage: "\nAttributes:" 31 29 //usage: "\n A Don't track atime" … … 37 35 //usage: "\n j Write all data to journal first" 38 36 //usage: "\n s Zero disk storage when deleted" 39 //usage: "\n S Write file contentssynchronously"37 //usage: "\n S Write synchronously" 40 38 //usage: "\n t Disable tail-merging of partial blocks with other files" 41 39 //usage: "\n u Allow file to be undeleted" 42 40 //usage: "\n -R Recurse" 43 //usage: "\n -v Set the file'sversion/generation number"41 //usage: "\n -v VER Set version/generation number" 44 42 45 43 #include "libbb.h"
Note:
See TracChangeset
for help on using the changeset viewer.