diff options
author | joe <joe@FreeBSD.org> | 2002-04-16 11:03:22 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-16 11:03:22 +0000 |
commit | b9814500193331e3b93b279ab5224b997694ddfe (patch) | |
tree | 11e5c83170f3631ed49075bf6e7a38110ea37530 | |
parent | 903c50775a178354bb01ca3e939fc3a8212d981c (diff) | |
download | FreeBSD-src-b9814500193331e3b93b279ab5224b997694ddfe.zip FreeBSD-src-b9814500193331e3b93b279ab5224b997694ddfe.tar.gz |
Support the snapshot file flag, so that tools like 'ls -ol' work
as expected on snapshot files.
PR: bin/37038
Submitted by: Joshua Goodall <joshua@roughtrade.net>
-rw-r--r-- | lib/libc/gen/strtofflags.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c index 292f1c5..be54f6a 100644 --- a/lib/libc/gen/strtofflags.c +++ b/lib/libc/gen/strtofflags.c @@ -59,6 +59,9 @@ static struct { { "nosimmutable", SF_IMMUTABLE, 0 }, { "nosunlnk", SF_NOUNLINK, 0 }, { "nosunlink", SF_NOUNLINK, 0 }, +#ifdef SF_SNAPSHOT + { "nosnapshot", SF_SNAPSHOT, 0 }, +#endif { "nouappnd", UF_APPEND, 0 }, { "nouappend", UF_APPEND, 0 }, { "nouchg", UF_IMMUTABLE, 0 }, |