diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-01-08 19:50:13 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-01-08 19:50:13 +0000 |
commit | 33ad050e0eedf7276932202e25c9e7581c5d529b (patch) | |
tree | 8d5178e6e92b5ebc846a04359d39fc80dbad7f00 | |
parent | 7a8b4abb9736bc89cda97907a13d0fa958f16edf (diff) | |
download | FreeBSD-src-33ad050e0eedf7276932202e25c9e7581c5d529b.zip FreeBSD-src-33ad050e0eedf7276932202e25c9e7581c5d529b.tar.gz |
Make RB_CDROM work. This should probably check for a disc in cd1 and acd1
as well.
-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 48a632e..496ea70 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"); |