Updates to /usr/etc/rc to deal with the new cd probing logic; ast@'s new motd
This commit is contained in:
parent
919cb00bbc
commit
4f59e540e1
2 changed files with 14 additions and 5 deletions
10
etc/motd
10
etc/motd
|
@ -1,3 +1,11 @@
|
||||||
|
|
||||||
This minix is an internal release.
|
MINIX 3 is still under development and may contain bugs and other
|
||||||
|
imperfections. If you would like to help develop MINIX 3 further into a
|
||||||
|
rock solid, reliable operating system, please go to the official Website:
|
||||||
|
|
||||||
|
www.minix3.org
|
||||||
|
|
||||||
|
to see how you can help. That page also contains additional MINIX 3
|
||||||
|
software, documentation, and information about the MINIX community.
|
||||||
|
If you find a bug, please use the "Report a bug" link on that page.
|
||||||
|
|
||||||
|
|
9
etc/rc
9
etc/rc
|
@ -58,13 +58,14 @@ start)
|
||||||
# If booting from CD, /usr has to be mounted readonly.
|
# If booting from CD, /usr has to be mounted readonly.
|
||||||
# Also, $usr won't be specified correctly in the
|
# Also, $usr won't be specified correctly in the
|
||||||
# fstab (the CD could be anywhere), so we decide
|
# fstab (the CD could be anywhere), so we decide
|
||||||
# where it is.
|
# where it is based on sysenv (set by FS when probing for CD).
|
||||||
if [ "$bootcd" = 1 ]
|
if [ "$bootcd" = 1 ]
|
||||||
then
|
then
|
||||||
ramname="`/bin/sysenv ramimagedev_n`"
|
imagedev="`/bin/sysenv cdproberoot`"
|
||||||
|
usrdev="`expr $imagedev + 1`"
|
||||||
usr_roflag="-r"
|
usr_roflag="-r"
|
||||||
usr="/dev/c0`echo $ramname | sed 's/.*\(d.\).*/\1/'`p2"
|
usr="`/bin/dev2name $usrdev`"
|
||||||
echo "Setting /usr to mount readonly from cd: $ramname -> $usr"
|
echo "Setting /usr to mount readonly from cd: $usrdev -> $usr"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mount the /usr partition unless this is a single floppy Minix.
|
# Mount the /usr partition unless this is a single floppy Minix.
|
||||||
|
|
Loading…
Reference in a new issue