From b6287cef9243e06e73ff157fa843467499f51489 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 18 May 2020 06:20:45 +0000 Subject: Make ffs2 the default for newfs; change all calls to create e.g. floppy filesystems or ramdisks to use explicit -O 1; installer already does that. ok sthen@ --- distrib/sparc64/miniroot/Makefile | 4 ++-- distrib/sparc64/ramdisk/Makefile | 4 ++-- distrib/sparc64/ramdiskB/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'distrib/sparc64') diff --git a/distrib/sparc64/miniroot/Makefile b/distrib/sparc64/miniroot/Makefile index f558ecd3596..c3d950c71b0 100644 --- a/distrib/sparc64/miniroot/Makefile +++ b/distrib/sparc64/miniroot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2020/05/17 17:04:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.23 2020/05/18 06:20:44 otto Exp $ FS= miniroot${OSrev}.img FSSIZE= 6400 @@ -22,7 +22,7 @@ ${FS}: bsd.gz dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE} vnconfig -v ${FS} > vnd disklabel -w `cat vnd` ${FSDISKTYPE} - newfs -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a + newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a mount /dev/`cat vnd`a ${MOUNT_POINT} install -c -m 555 -o root -g wheel \ ${DESTDIR}/usr/mdec/ofwboot ${MOUNT_POINT}/ofwboot diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile index 8c298e1f6b2..14dccb17ec2 100644 --- a/distrib/sparc64/ramdisk/Makefile +++ b/distrib/sparc64/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.50 2020/05/17 17:04:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.51 2020/05/18 06:20:44 otto Exp $ FS= floppy${OSrev}.img FSSIZE= 2880 @@ -19,7 +19,7 @@ ${FS}: bsd.gz dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE} vnconfig -v ${FS} > vnd disklabel -w `cat vnd` ${FSDISKTYPE} - newfs -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a + newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a mount /dev/`cat vnd`a ${MOUNT_POINT} install -c -m 555 -o root -g wheel \ ${DESTDIR}/usr/mdec/ofwboot ${MOUNT_POINT}/ofwboot diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile index 289cc1a0208..7c43c228489 100644 --- a/distrib/sparc64/ramdiskB/Makefile +++ b/distrib/sparc64/ramdiskB/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.45 2020/05/17 17:04:28 deraadt Exp $ +# $OpenBSD: Makefile,v 1.46 2020/05/18 06:20:44 otto Exp $ FS= floppyB${OSrev}.img FSSIZE= 2880 @@ -19,7 +19,7 @@ ${FS}: bsd.gz dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE} vnconfig -v ${FS} > vnd disklabel -w `cat vnd` ${FSDISKTYPE} - newfs -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a + newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a mount /dev/`cat vnd`a ${MOUNT_POINT} install -c -m 555 -o root -g wheel \ ${DESTDIR}/usr/mdec/ofwboot ${MOUNT_POINT}/ofwboot -- cgit v1.2.3