mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
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:
parent
0e195446b7
commit
13042d1278
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1380
@ -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':
|
||||
|
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user