c8cf3f3d0e
flag from a mount flag to FS-specific flag. - Simplify usage. Instead of 'mksnap_ffs /mnt/foo /mnt/foo/snap' allow to give only one argument: 'mksnap_ffs /mnt/foo/snap'. Old usage is also accepted for now. - Add an example of how to mount a snapshot.
20 lines
252 B
Makefile
20 lines
252 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../mount
|
|
|
|
PROG= mksnap_ffs
|
|
SRCS= mksnap_ffs.c getmntopts.c
|
|
MAN= mksnap_ffs.8
|
|
|
|
CFLAGS+=-I${.CURDIR}/../mount
|
|
|
|
.if defined(NOSUID)
|
|
BINMODE=550
|
|
.else
|
|
BINMODE=4550
|
|
BINOWN= root
|
|
.endif
|
|
BINGRP= operator
|
|
|
|
.include <bsd.prog.mk>
|