X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsetattr.c;h=8063754876f5f1b8f5557d85fc02b04a4435b7de;hb=73344887cd41fa1157c86ae3e1ad75e007e6e0d8;hp=7f4c2ad694319f48eab964a9d6fb6f1998bda75d;hpb=df4a683742df97801b80a4cbfdbcbb3a46240ad5;p=util-vserver.git diff --git a/src/setattr.c b/src/setattr.c index 7f4c2ad..8063754 100644 --- a/src/setattr.c +++ b/src/setattr.c @@ -61,6 +61,12 @@ CMDLINE_OPTIONS[] = { { "immutable", no_argument, 0, CMD_IMMUTABLE }, { "~immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, { "!immutable", no_argument, 0, CMD_UNSET_IMMUTABLE }, + { "write", no_argument, 0, CMD_WRITE }, + { "~write", no_argument, 0, CMD_UNSET_WRITE }, + { "!write", no_argument, 0, CMD_UNSET_WRITE }, + { "cow", no_argument, 0, CMD_COW }, + { "~cow", no_argument, 0, CMD_UNSET_COW }, + { "!cow", no_argument, 0, CMD_UNSET_COW }, { 0,0,0,0 } }; @@ -72,7 +78,7 @@ showHelp(int fd, char const *cmd, int res) WRITE_MSG(fd, "Usage: "); WRITE_STR(fd, cmd); WRITE_MSG(fd, - " [-Rx] [--[~](iunlink|admin|watch|hide|barrier|iunlink-but-not-immutable)]* [--] +\n\n" + " [-Rx] [--[~](iunlink|admin|watch|hide|barrier|iunlink-but-not-immutable|immutable|write|cow)]* [--] +\n\n" " Options:\n" " -R ... recurse through directories\n" " -x ... do not cross filesystems\n\n"