Fix the remaining /dev/ -> /dev_vfs/
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 26 Oct 2016 23:50:33 +0000 (19:50 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
Probably the last ones.  =)

This only affected you if you attempted to build the ancient EXT2
support.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/blockdev.c
kern/src/init.c

index ea6a064..8b0c672 100644 (file)
@@ -40,7 +40,7 @@ void block_init(void)
        ram_bd->b_data = _binary_mnt_ext2fs_img_start;
        strlcpy(ram_bd->b_name, "RAMDISK", BDEV_INLINE_NAME);
        /* Connect it to the file system */
-       struct file *ram_bf = make_device("/dev/ramdisk", S_IRUSR | S_IWUSR,
+       struct file *ram_bf = make_device("/dev_vfs/ramdisk", S_IRUSR | S_IWUSR,
                                          __S_IFBLK, &block_f_op);
        /* make sure the inode tracks the right pm (not it's internal one) */
        ram_bf->f_dentry->d_inode->i_mapping = &ram_bd->b_pm;
index e1a8185..4057e94 100644 (file)
@@ -168,7 +168,7 @@ void kernel_init(multiboot_info_t *mboot_info)
        devtabinit();
 
 #ifdef CONFIG_EXT2FS
-       mount_fs(&ext2_fs_type, "/dev/ramdisk", "/mnt", 0);
+       mount_fs(&ext2_fs_type, "/dev_vfs/ramdisk", "/mnt", 0);
 #endif /* CONFIG_EXT2FS */
 #ifdef CONFIG_ETH_AUDIO
        eth_audio_init();