aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs/Makefile
diff options
context:
space:
mode:
authorGuido van Rooij <guido@FreeBSD.org>1997-03-23 20:08:22 +0000
committerGuido van Rooij <guido@FreeBSD.org>1997-03-23 20:08:22 +0000
commit8f89943eda4491e3d0a67cc4084e0c9c49d5be52 (patch)
treeb9411eec7d5aa143a88d2b00622c513c58e81906 /sbin/newfs/Makefile
parent8187fe48133bc2a01ee7fcbb9ad4589c545490f0 (diff)
downloadsrc-8f89943eda4491e3d0a67cc4084e0c9c49d5be52.tar.gz
src-8f89943eda4491e3d0a67cc4084e0c9c49d5be52.zip
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
Notes
Notes: svn path=/head/; revision=24149
Diffstat (limited to 'sbin/newfs/Makefile')
-rw-r--r--sbin/newfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile
index ed9ad9d8d27c..d44fdbaa63fb 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