summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2020-05-18 06:20:45 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2020-05-18 06:20:45 +0000
commitb6287cef9243e06e73ff157fa843467499f51489 (patch)
treef53b1c0b07457ce24a80636a6bca250f8abd5b21 /distrib
parent03cd8ca6a4b3c9251b72129bd2a13e6bf56cf2f3 (diff)
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@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/miniroot/Makefile4
-rw-r--r--distrib/amd64/iso/Makefile4
-rw-r--r--distrib/amd64/ramdiskA/Makefile4
-rw-r--r--distrib/amd64/ramdisk_cd/Makefile4
-rw-r--r--distrib/arm64/ramdisk/Makefile4
-rw-r--r--distrib/armv7/miniroot/Makefile.inc6
-rw-r--r--distrib/i386/iso/Makefile4
-rw-r--r--distrib/i386/ramdisk/Makefile4
-rw-r--r--distrib/i386/ramdisk_cd/Makefile4
-rw-r--r--distrib/landisk/ramdisk/Makefile4
-rw-r--r--distrib/luna88k/ramdisk/Makefile4
-rw-r--r--distrib/sgi/cdfs/Makefile4
-rw-r--r--distrib/sgi/iso/Makefile4
-rw-r--r--distrib/sparc64/miniroot/Makefile4
-rw-r--r--distrib/sparc64/ramdisk/Makefile4
-rw-r--r--distrib/sparc64/ramdiskB/Makefile4
16 files changed, 33 insertions, 33 deletions
diff --git a/distrib/alpha/miniroot/Makefile b/distrib/alpha/miniroot/Makefile
index 3b4582c2049..176001563e3 100644
--- a/distrib/alpha/miniroot/Makefile
+++ b/distrib/alpha/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.17 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 5760
@@ -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/boot ${MOUNT_POINT}/boot
diff --git a/distrib/amd64/iso/Makefile b/distrib/amd64/iso/Makefile
index 50465fb538e..a932f06ae52 100644
--- a/distrib/amd64/iso/Makefile
+++ b/distrib/amd64/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.36 2020/05/18 06:20:43 otto Exp $
FS= install${OSrev}.img
FSSIZE= 929792
@@ -40,7 +40,7 @@ ${FS}: ${BASE} ${XBASE} bsd.gz
.else
disklabel -w `cat vnd` ${FSTYPE}
.endif
- 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}
cp ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
strip ${MOUNT_POINT}/boot
diff --git a/distrib/amd64/ramdiskA/Makefile b/distrib/amd64/ramdiskA/Makefile
index 676818bb344..abb5ffe94fc 100644
--- a/distrib/amd64/ramdiskA/Makefile
+++ b/distrib/amd64/ramdiskA/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2020/05/18 06:20:43 otto Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
@@ -18,7 +18,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}
cp ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
strip ${.OBJDIR}/boot
diff --git a/distrib/amd64/ramdisk_cd/Makefile b/distrib/amd64/ramdisk_cd/Makefile
index 84cb5853ca3..642d2cc7e07 100644
--- a/distrib/amd64/ramdisk_cd/Makefile
+++ b/distrib/amd64/ramdisk_cd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.22 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 9600
@@ -25,7 +25,7 @@ ${FS}: bsd.gz
mkdir -p ${MOUNT_POINT}/efi/boot
cp ${EFIBOOT} ${MOUNT_POINT}/efi/boot
umount ${MOUNT_POINT}
- 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}
cp ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
strip ${.OBJDIR}/boot
diff --git a/distrib/arm64/ramdisk/Makefile b/distrib/arm64/ramdisk/Makefile
index bdbc795af11..04b89cbda8d 100644
--- a/distrib/arm64/ramdisk/Makefile
+++ b/distrib/arm64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.20 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 67584
@@ -64,7 +64,7 @@ ${FS}: bsd.rd
dd if=${PUBOOT}/pine64_plus/u-boot-sunxi-with-spl.bin \
of=/dev/r`cat vnd`c bs=1024 seek=8 conv=sync
umount ${MOUNT_POINT}
- 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 bsd.rd ${MOUNT_POINT}/bsd
ln ${MOUNT_POINT}/bsd ${MOUNT_POINT}/bsd.rd
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index c454c20dd8c..84d75484f0d 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.26 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.27 2020/05/18 06:20:43 otto Exp $
FS= miniroot-${BOARD}-${OSrev}.img
FSSIZE= 67584 # ffs+msdos, actually
@@ -22,7 +22,7 @@ ${FS}: bsd.rd
echo 'u\ne 0\nC\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nf 0\nw\nq\n' \
| fdisk -e `cat vnd` >/dev/null
echo 'a a\n\n\n\nw\nq\n' | disklabel -E `cat vnd` >/dev/null
- newfs -t msdos -L boot /dev/r`cat vnd`i
+ newfs -O 1 -t msdos -L boot /dev/r`cat vnd`i
mount -o-l /dev/`cat vnd`i ${MOUNT_POINT}
.for DTB in ${DTBS}
@@ -49,7 +49,7 @@ ${FS}: bsd.rd
cp /usr/mdec/BOOTARM.EFI ${MOUNT_POINT}/efi/boot/bootarm.efi
umount ${MOUNT_POINT}
- 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 bsd.rd ${MOUNT_POINT}/bsd
ln ${MOUNT_POINT}/bsd ${MOUNT_POINT}/bsd.rd
diff --git a/distrib/i386/iso/Makefile b/distrib/i386/iso/Makefile
index 63113280b6d..aef1f4a3b50 100644
--- a/distrib/i386/iso/Makefile
+++ b/distrib/i386/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.27 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.28 2020/05/18 06:20:43 otto Exp $
FS= install${OSrev}.img
FSSIZE= 921600
@@ -25,7 +25,7 @@ ${FS}: ${BASE} ${XBASE} bsd.gz
vnconfig -v ${FS} > vnd
fdisk -yi -l ${FSSIZE} -f ${DESTDIR}/usr/mdec/mbr `cat 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}
cp ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
strip -R .comment -R .SUNW_ctf ${MOUNT_POINT}/boot
diff --git a/distrib/i386/ramdisk/Makefile b/distrib/i386/ramdisk/Makefile
index 5542f7e2cd4..62cc705677a 100644
--- a/distrib/i386/ramdisk/Makefile
+++ b/distrib/i386/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2020/05/18 06:20:43 otto Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
@@ -19,7 +19,7 @@ ${FS}: bsd.gz
fdisk -yi -l ${FSSIZE} -f ${DESTDIR}/usr/mdec/mbr `cat vnd`
.endif
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}
cp ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
strip ${.OBJDIR}/boot
diff --git a/distrib/i386/ramdisk_cd/Makefile b/distrib/i386/ramdisk_cd/Makefile
index b639b86bd9f..2f4a3daebe2 100644
--- a/distrib/i386/ramdisk_cd/Makefile
+++ b/distrib/i386/ramdisk_cd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.17 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8064
@@ -22,7 +22,7 @@ ${FS}: bsd.gz
fdisk -yi -l ${FSSIZE} -f ${DESTDIR}/usr/mdec/mbr `cat vnd`
.endif
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}
cp ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
strip ${.OBJDIR}/boot
diff --git a/distrib/landisk/ramdisk/Makefile b/distrib/landisk/ramdisk/Makefile
index 56a8ec11539..526a9dbc833 100644
--- a/distrib/landisk/ramdisk/Makefile
+++ b/distrib/landisk/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.31 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.32 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 5120
@@ -21,7 +21,7 @@ ${FS}: bsd.gz
fdisk -i -y `cat vnd`
fdisk -u -y -f ${DESTDIR}/usr/mdec/mbr `cat 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}
installboot -vr ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/xxboot ${DESTDIR}/usr/mdec/boot
diff --git a/distrib/luna88k/ramdisk/Makefile b/distrib/luna88k/ramdisk/Makefile
index be32707fc96..3b063be7b45 100644
--- a/distrib/luna88k/ramdisk/Makefile
+++ b/distrib/luna88k/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.30 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8192
@@ -21,7 +21,7 @@ ${FS}: bsd.rd
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/boot ${MOUNT_POINT}/boot
diff --git a/distrib/sgi/cdfs/Makefile b/distrib/sgi/cdfs/Makefile
index bf9ab326365..9d9c2ecd83e 100644
--- a/distrib/sgi/cdfs/Makefile
+++ b/distrib/sgi/cdfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2020/05/17 17:04:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.30 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
CDROM= cd${OSrev}.iso
@@ -20,7 +20,7 @@ ${CDROM}:
dd if=/dev/zero of=${FS} bs=1m count=${CDFSMB}
vnconfig -v ${FS} > vnd
disklabel -w `cat vnd` minicdroot "OpenBSD/sgi "
- newfs -m 0 -o space -i 524288 /dev/r`cat vnd`a
+ newfs -O 1 -m 0 -o space -i 524288 /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
mkdir -p ${MOUNT_POINT}/${OSrev}/sgi
.for IP in ${ALLIP}
diff --git a/distrib/sgi/iso/Makefile b/distrib/sgi/iso/Makefile
index 558ecdd0ef1..e3d93be8646 100644
--- a/distrib/sgi/iso/Makefile
+++ b/distrib/sgi/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.37 2019/05/05 15:59:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.38 2020/05/18 06:20:43 otto Exp $
CDROM= install${OSrev}.iso
RELXDIR?= /home/relx-${MACHINE}
@@ -69,7 +69,7 @@ ${CDROM}:
vnconfig -v -t cdroot ${CDROM} > vnd
disklabel -w `cat vnd` cdroot "OpenBSD/sgi "
- newfs -m 0 -o space -i 524288 /dev/r`cat vnd`a
+ newfs -O 1 -m 0 -o space -i 524288 /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${.OBJDIR}/cd-dir
mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE}
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