Adding bootoption '-r' which is "use compiled in root". This allows me to

boot from a floppy and have root on wd2 for instance.
This commit is contained in:
Poul-Henning Kamp 1994-04-20 22:06:24 +00:00
parent 0e195446b7
commit 13042d1278
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1380
2 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, [92/04/03 16:51:14 rvb]
* $Id: boot.c,v 1.8 1993/10/16 19:11:31 rgrimes Exp $
* $Id: boot.c,v 1.9 1994/02/22 22:59:38 rgrimes Exp $
*/
@ -290,6 +290,8 @@ getbootdev(howto)
if (c=='-')
while ((c = *++ptr) && c!=' ')
switch (c) {
case 'r':
*howto |= RB_DFLTROOT; continue;
case 'a':
*howto |= RB_ASKNAME; continue;
case 's':

View File

@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, [92/04/03 16:51:14 rvb]
* $Id: boot.c,v 1.8 1993/10/16 19:11:31 rgrimes Exp $
* $Id: boot.c,v 1.9 1994/02/22 22:59:38 rgrimes Exp $
*/
@ -290,6 +290,8 @@ getbootdev(howto)
if (c=='-')
while ((c = *++ptr) && c!=' ')
switch (c) {
case 'r':
*howto |= RB_DFLTROOT; continue;
case 'a':
*howto |= RB_ASKNAME; continue;
case 's':