diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-01-08 19:50:13 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-01-08 19:50:13 +0000 |
commit | 083cfea1ee8a8273b01e7b31eeffc21e0164c2e4 (patch) | |
tree | 8d5178e6e92b5ebc846a04359d39fc80dbad7f00 /sys | |
parent | 08e4ac8ad667b6913e522c6e3312a3b27e528a7d (diff) | |
download | src-083cfea1ee8a8273b01e7b31eeffc21e0164c2e4.tar.gz src-083cfea1ee8a8273b01e7b31eeffc21e0164c2e4.zip |
Make RB_CDROM work. This should probably check for a disc in cd1 and acd1
as well.
Notes
Notes:
svn path=/head/; revision=217163
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_mountroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c index 48a632ee7e2c..496ea707de01 100644 --- a/sys/kern/vfs_mountroot.c +++ b/sys/kern/vfs_mountroot.c @@ -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"); |