From baaa515eeabd79e258e37ebbd13404ce8a85ac82 Mon Sep 17 00:00:00 2001 From: luigi Date: Thu, 21 Jun 2001 08:53:21 +0000 Subject: Use /dev/fd0 instead of /dev/fd0c for mounting the floppy. This must have to do with the use of devfs in -CURRENT, but i have no idea when the devfs is actually mounted (is it a side effect of mount -t nonfs or what ?) and when /dev/fd0c becomes available. For the time being, let's use this hack. Once I understand how devfs works, this can be reverted back to the previous value, and also the part of the build script which creates device entries can be nuked. This is for -current only. --- release/picobsd/mfs_tree/etc/rc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/picobsd/mfs_tree/etc/rc b/release/picobsd/mfs_tree/etc/rc index e695f69..ae55787 100644 --- a/release/picobsd/mfs_tree/etc/rc +++ b/release/picobsd/mfs_tree/etc/rc @@ -11,11 +11,13 @@ trap : 3 HOME=/; export HOME PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin export PATH -dev="/dev/fd0c" # +dev="/dev/fd0" +cp -p /etc/rc /etc/rc.master trap "echo 'Reboot interrupted'; exit 1" 3 -# Copy from MFS version of the files, and then from FS version. +echo "Reading from MFS ..." cd /fd; cp -Rp etc root / ; cd / +ls /dev echo "Reading /etc from ${dev}..." mount -o rdonly ${dev} /fd cd /fd; cp -Rp etc root / ; cd / ; umount /fd -- cgit v1.1