summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/misc.c
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2006-07-03 10:55:22 +0000
committermaxim <maxim@FreeBSD.org>2006-07-03 10:55:22 +0000
commit8b4567954816aa15b8523fddfd8a49d4c756b26f (patch)
tree35c89a96671ac41a2996c77c3f64e00872f36eae /usr.sbin/mtree/misc.c
parent57f08c23c3227560f032b55c61beba76566b1793 (diff)
downloadFreeBSD-src-8b4567954816aa15b8523fddfd8a49d4c756b26f.zip
FreeBSD-src-8b4567954816aa15b8523fddfd8a49d4c756b26f.tar.gz
o Add an 'optional' keyword, which allows files to be in the
specification, but not in the file hierarchy. PR: bin/99531 Submitted by: skv Obtained from: NetBSD, originally from Ed Symanzik Regress. test: test/test05.sh MFC after: 1 month
Diffstat (limited to 'usr.sbin/mtree/misc.c')
-rw-r--r--usr.sbin/mtree/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/mtree/misc.c b/usr.sbin/mtree/misc.c
index 8f5344e..65667d6 100644
--- a/usr.sbin/mtree/misc.c
+++ b/usr.sbin/mtree/misc.c
@@ -66,6 +66,7 @@ static KEY keylist[] = {
{"mode", F_MODE, NEEDVALUE},
{"nlink", F_NLINK, NEEDVALUE},
{"nochange", F_NOCHANGE, 0},
+ {"optional", F_OPT, 0},
#ifdef RMD160
{"ripemd160digest", F_RMD160, NEEDVALUE},
#endif
OpenPOWER on IntegriCloud