From d2c0ac28da5d14c3ad61a2309ccf5b7a7b2d016c Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Tue, 16 Apr 2002 11:03:22 +0000 Subject: [PATCH] Support the snapshot file flag, so that tools like 'ls -ol' work as expected on snapshot files. PR: bin/37038 Submitted by: Joshua Goodall --- lib/libc/gen/strtofflags.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c index 292f1c53a8d..be54f6a7570 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 },