diff options
author | luigi <luigi@FreeBSD.org> | 2001-06-21 08:53:21 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2001-06-21 08:53:21 +0000 |
commit | baaa515eeabd79e258e37ebbd13404ce8a85ac82 (patch) | |
tree | f87684ceef97a995333aaf3b4635d2f087fcdf5b | |
parent | d0e44d05152d0b5324dbe315d646e3fd020d00eb (diff) | |
download | FreeBSD-src-baaa515eeabd79e258e37ebbd13404ce8a85ac82.zip FreeBSD-src-baaa515eeabd79e258e37ebbd13404ce8a85ac82.tar.gz |
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.
-rw-r--r-- | release/picobsd/mfs_tree/etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
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 |