- {"getfacl", lfs_getfacl, 0,
- "Get file access control list in remote client.\n"
- "usage: getfacl [-dRLPvh] file"},
- {"setfacl", lfs_setfacl, 0,
- "Set file access control list in remote client.\n"
- "usage: setfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file"},
+ {"lsetfacl", lfs_lsetfacl, 0,
+ "Remote user setfacl for user/group on the same remote client.\n"
+ "usage: lsetfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file ..."},
+ {"lgetfacl", lfs_lgetfacl, 0,
+ "Remote user getfacl for user/group on the same remote client.\n"
+ "usage: lgetfacl [-dRLPvh] file ..."},
+ {"rsetfacl", lfs_rsetfacl, 0,
+ "Remote user setfacl for user/group on other clients.\n"
+ "usage: rsetfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file ..."},
+ {"rgetfacl", lfs_rgetfacl, 0,
+ "Remote user getfacl for user/group on other clients.\n"
+ "usage: rgetfacl [-dRLPvh] file ..."},
+ {"cp", lfs_cp, 0,
+ "Remote user copy files and directories.\n"
+ "usage: cp [OPTION]... [-T] SOURCE DEST\n\tcp [OPTION]... SOURCE... DIRECTORY\n\tcp [OPTION]... -t DIRECTORY SOURCE..."},
+ {"ls", lfs_ls, 0,
+ "Remote user list directory contents.\n"
+ "usage: ls [OPTION]... [FILE]..."},
+ {"changelog", lfs_changelog, 0,
+ "Show the metadata changes on an MDT."
+ "\nusage: changelog <mdtname> [startrec [endrec]]"},
+ {"changelog_clear", lfs_changelog_clear, 0,
+ "Indicate that old changelog records up to <endrec> are no longer of "
+ "interest to consumer <id>, allowing the system to free up space.\n"
+ "An <endrec> of 0 means all records.\n"
+ "usage: changelog_clear <mdtname> <id> <endrec>"},
+ {"fid2path", lfs_fid2path, 0,
+ "Resolve the full path to a given FID. For a specific hardlink "
+ "specify link number <linkno>.\n"
+ /* "For a historical name, specify changelog record <recno>.\n" */
+ "usage: fid2path <fsname|rootpath> <fid> [--link <linkno>]"
+ /*[--rec <recno>]*/},
+ {"path2fid", lfs_path2fid, 0, "Display the fid for a given path.\n"
+ "usage: path2fid <path>"},