aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/mfs_tree
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2001-01-27 03:23:44 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2001-01-27 03:23:44 +0000
commite5b68d551357c60aecf15e49a53f87c8bcf9fdae (patch)
treee3eee544ef687db9ab008284119e786c8b0a886f /release/picobsd/mfs_tree
parent4ff9c03cc5473279294834633392fa9be8fe0be2 (diff)
downloadsrc-e5b68d551357c60aecf15e49a53f87c8bcf9fdae.tar.gz
src-e5b68d551357c60aecf15e49a53f87c8bcf9fdae.zip
The magic for autodetecting the boot media does not work anymore
on STABLE or CURRENT. Put the explicit name for the floppy.
Notes
Notes: svn path=/head/; revision=71703
Diffstat (limited to 'release/picobsd/mfs_tree')
-rw-r--r--release/picobsd/mfs_tree/etc/rc2
-rwxr-xr-xrelease/picobsd/mfs_tree/stand/update2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/picobsd/mfs_tree/etc/rc b/release/picobsd/mfs_tree/etc/rc
index c5838cce4d4f..f4273370bcb6 100644
--- a/release/picobsd/mfs_tree/etc/rc
+++ b/release/picobsd/mfs_tree/etc/rc
@@ -14,7 +14,7 @@ export PATH
trap "echo 'Reboot interrupted'; exit 1" 3
### Special setup for one floppy PICOBSD ###
-set `df /` ; dev="/dev/$8"
+dev="/dev/fd0c"
echo "Reading /etc from ${dev}..."
mount -o rdonly ${dev} /mnt
cd /mnt/etc ; cp -Rp . /etc/
diff --git a/release/picobsd/mfs_tree/stand/update b/release/picobsd/mfs_tree/stand/update
index 16cdfda49543..1b2193eda576 100755
--- a/release/picobsd/mfs_tree/stand/update
+++ b/release/picobsd/mfs_tree/stand/update
@@ -3,7 +3,7 @@
# script to edit and save some config file(s)
thefiles=$*
pwd=`pwd`
-set `df /` ; dev="/dev/$8"
+dev="/dev/fd0c"
echo "Updating content on ${dev}: "
mount ${dev} /mnt
if [ "X$?" != "X0" ] ; then