From c337c37259502bbcb3efde45ca7db82f927ff512 Mon Sep 17 00:00:00 2001 From: guido Date: Sun, 23 Mar 1997 20:08:22 +0000 Subject: 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 --- sbin/newfs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/newfs/Makefile') 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 -- cgit v1.1