summaryrefslogtreecommitdiff
path: root/distrib/alpha/ramdisk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-07 16:23:06 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-05-07 16:23:06 +0000
commitcdcc96ee9ec56a9f3479dac9ad34b0fc0b2de972 (patch)
tree9847f424675adc8a056e486fab9431cce1bf94f9 /distrib/alpha/ramdisk
parent1f9aa856386467920b85844d5e7d9f5bc14b5ca2 (diff)
Cleanup
Diffstat (limited to 'distrib/alpha/ramdisk')
-rw-r--r--distrib/alpha/ramdisk/Makefile12
-rw-r--r--distrib/alpha/ramdisk/raminst.conf4
2 files changed, 8 insertions, 8 deletions
diff --git a/distrib/alpha/ramdisk/Makefile b/distrib/alpha/ramdisk/Makefile
index 5804a3df944..d038ad1722b 100644
--- a/distrib/alpha/ramdisk/Makefile
+++ b/distrib/alpha/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 1997/05/07 12:46:54 niklas Exp $
+# $OpenBSD: Makefile,v 1.2 1997/05/07 16:23:05 niklas Exp $
TOP= ${.CURDIR}/..
@@ -30,7 +30,7 @@ NEWFSARGS= -t ffs -m 0 -o space -c 16 -i 16384
setroot: ${IMAGE} bsd ecoffrdsetroot
${.OBJDIR}/ecoffrdsetroot bsd < ${IMAGE}
-${IMAGE}: do_prep do_mount do_files do_umount unconfig
+${IMAGE}: do_prep do_mount do_files do_umount
mv -f ${REALIMAGE} ${IMAGE}
ecoffrdsetroot: ${TOP}/ecoffrdsetroot.c
@@ -39,24 +39,24 @@ ecoffrdsetroot: ${TOP}/ecoffrdsetroot.c
bsd: ${KERNEL}
cp ${KERNEL} bsd
-do_prep: ${CBIN} unconfig
+do_prep: ${CBIN}
dd if=/dev/zero of=${REALIMAGE} count=${NBLKS}
vnconfig -v -c ${VND} ${REALIMAGE}
disklabel -w -r ${VND} ${DISKTYPE}
do_mount:
- -newfs ${NEWFSARGS} -s ${NBLKS} ${VND_RDEV} ${DISKTYPE}
+ newfs ${NEWFSARGS} -s ${NBLKS} ${VND_RDEV} ${DISKTYPE}
mount ${VND_DEV} ${MOUNT_POINT}
do_umount:
@echo ""
@df -i ${MOUNT_POINT}
@echo ""
- -umount ${MOUNT_POINT}
+ umount ${MOUNT_POINT}
+ vnconfig -u ${VND} && cat /*bin/* > /dev/null
unconfig:
-umount ${MOUNT_POINT}
-vnconfig -u ${VND} && cat /*bin/* > /dev/null
- -rm -f ${REALIMAGE}
.PRECIOUS: ${IMAGE}
diff --git a/distrib/alpha/ramdisk/raminst.conf b/distrib/alpha/ramdisk/raminst.conf
index 12727ebf4d4..63d52b23dd3 100644
--- a/distrib/alpha/ramdisk/raminst.conf
+++ b/distrib/alpha/ramdisk/raminst.conf
@@ -1,5 +1,5 @@
#
-# $OpenBSD: raminst.conf,v 1.1 1997/05/07 12:46:58 niklas Exp $
+# $OpenBSD: raminst.conf,v 1.2 1997/05/07 16:23:05 niklas Exp $
#
# ram.conf - unified binary for the RAM disk
#
@@ -11,7 +11,7 @@ progs cat chmod chown cut cp dd df disklabel ed grep expr fsck_ffs ftp
progs gzip ifconfig init hostname kill less ln ls mkdir mknod mount
progs mount_cd9660 mount_kernfs mount_ffs mount_nfs
progs mv newfs pdksh pwd reboot rm route sed sleep sort stty
-progs sync pax test tip umount
+progs sync pax test umount
#progs slattach tip vim
#ln vim vi