1 .TH LFS-PROJECT 1 2017-10-26 "Lustre" "Lustre Utilities"
3 lfs project \- Change or list project attribute for specified file or directory.
5 .BR "lfs project" " [" -d | -r ] " "< \fI file | directory...\fR>
7 .BR "lfs project" " {" -p " "\fIID " |" -s } " "[ -r ] " "<\fI file | directory...\fR>
9 .BR "lfs project" " -c" " [" -d | -r " [" -p " "\fIID ] " [" -0 ] ] " <" file | directory...>
11 .BR "lfs project" " -C" " [" -r | -k ] " <" file | directory...>
15 .BR "lfs project" " [" -d | -r ]
16 .RI < file | directory...>
18 List project ID and flags on file(s) or directories.
21 Show the directory's own project ID and flags, override \fB-r\fR option.
24 Recursively list all descendants'(of the directory) project attribute.
26 .BR "lfs project" " {" -p " "\fIID " |" -s } " "[ -r ]
27 .RI < file | directory...>
29 Set project ID and/or inherit flag for specified file(s) or directories.
32 Set project \fIID\fR with given value for the specified file or directory
37 attribute on directories, so that new files and subdirectories created
38 therein will inherit the project ID and attribute from the parent.
41 Set project \fIID\fR with the directory's project ID for all
42 its descendants (with \fB-p\fR specified). For descendant directories, also set
43 inherit flag (if \fI-s\fR specified).
45 .BR "lfs project" " -c" " [" -d|-r " [" -p " "\fIID ] " [" -0 ] ]
46 .RI < file | directory...>
48 Check project ID and flags on file(s) or directories, print outliers.
51 Check project ID and inherit flag on specified file(s) or directory. If
53 is not given, then use the project ID on the top-level directory
54 , otherwise use the ID specified with
56 if checking a directory and or recursively, print only files that do not match.
59 Print pathnames found by -c with a trailing NUL for use by
60 .BR \' xargs "(1) " -0 \'.
62 .BR "lfs project" " -C [" -r | -k ]
63 .RI < file | directory...>
65 Clear the project inherit flag and ID on the file(s) or directories
68 Clear inherit attribute, project ID will be reset to be 0 in default
71 keep the project ID unchanged.
75 .B $ lfs project -srp 1000 /mnt/lustre/dir1
76 set directory quota on
78 all descendants' project ID and inherit attribute are set.
80 .B $ lfs project -cr -p 1000 /mnt/lustre/dir1
83 whether all files and directories ID are 1000, inherit attribute
84 is properly set for all directories, print mismatch