summaryrefslogtreecommitdiffstats
path: root/sbin/mksnap_ffs/Makefile
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2003-03-02 01:50:33 +0000
committermckusick <mckusick@FreeBSD.org>2003-03-02 01:50:33 +0000
commitaf2849b505125bd246931a01ac1ea4b3c435c334 (patch)
tree873b7b110fed68bd3ff101ae4b9c473a53cc78ad /sbin/mksnap_ffs/Makefile
parentc09c34bb73634b06d27c71a728cfe92c799d8e32 (diff)
downloadFreeBSD-src-af2849b505125bd246931a01ac1ea4b3c435c334.zip
FreeBSD-src-af2849b505125bd246931a01ac1ea4b3c435c334.tar.gz
Add the mksnap_ffs command to the sbin directory. This setuid root
program allows users in the operator group to take filesystem snapshots. Its first use will be in support of `dump -L'. Approved by: Technical Review Board <trb@FreeBSD.org> Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sbin/mksnap_ffs/Makefile')
-rw-r--r--sbin/mksnap_ffs/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/sbin/mksnap_ffs/Makefile b/sbin/mksnap_ffs/Makefile
new file mode 100644
index 0000000..3c08f56
--- /dev/null
+++ b/sbin/mksnap_ffs/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+PROG= mksnap_ffs
+MAN= mksnap_ffs.8
+
+.if defined(NOSUID)
+BINMODE=550
+.else
+BINMODE=4550
+BINOWN= root
+.endif
+BINGRP= operator
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud