diff options
author | guido <guido@FreeBSD.org> | 1997-03-23 20:08:22 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 1997-03-23 20:08:22 +0000 |
commit | c337c37259502bbcb3efde45ca7db82f927ff512 (patch) | |
tree | e2f5aeaa60774a851df745574651915a33ccf5a1 /sbin/newfs/Makefile | |
parent | 8e15480d4907712b453456ae3366cfe75ea7b804 (diff) | |
download | FreeBSD-src-c337c37259502bbcb3efde45ca7db82f927ff512.zip FreeBSD-src-c337c37259502bbcb3efde45ca7db82f927ff512.tar.gz |
Add generation number randomization. Newly created filesystems wil now
automatically have random generation numbers. The kenel way of handling those
also changed. Further it is advised to run fsirand on all your nfs exported
filesystems. the code is mostly copied from OpenBSD, with the randomization
chanegd to use /dev/urandom
Reviewed by: Garrett
Obtained from: OpenBSD
Diffstat (limited to 'sbin/newfs/Makefile')
-rw-r--r-- | sbin/newfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile index ed9ad9d..d44fdba 100644 --- a/sbin/newfs/Makefile +++ b/sbin/newfs/Makefile @@ -6,7 +6,7 @@ MAN8= newfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+= -D_NEW_VFSCONF -CFLAGS+=-DMFS -I${MOUNT} +CFLAGS+=-DMFS -DFSIRAND -I${MOUNT} .PATH: ${MOUNT} ${.CURDIR}/../disklabel LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs |