Make RB_CDROM work. This should probably check for a disc in cd1 and acd1
as well.
This commit is contained in:
parent
08e4ac8ad6
commit
083cfea1ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217163
@ -831,9 +831,9 @@ vfs_mountroot_conf0(struct sbuf *sb)
|
||||
sbuf_printf(sb, "%s\n", ROOTDEVNAME);
|
||||
#endif
|
||||
if (boothowto & RB_CDROM) {
|
||||
sbuf_printf(sb, "cd9660:cd0\n");
|
||||
sbuf_printf(sb, "cd9660:/dev/cd0 ro\n");
|
||||
sbuf_printf(sb, ".timeout 0\n");
|
||||
sbuf_printf(sb, "cd9660:acd0\n");
|
||||
sbuf_printf(sb, "cd9660:/dev/acd0 ro\n");
|
||||
sbuf_printf(sb, ".timeout %d\n", root_mount_timeout);
|
||||
}
|
||||
s = getenv("vfs.root.mountfrom");
|
||||
|
Loading…
Reference in New Issue
Block a user