devfs: enable writing to device files
This commit is contained in:
parent
2009a9adb7
commit
4e2d2d0f4e
2 changed files with 3 additions and 11 deletions
|
|
@ -94,6 +94,7 @@ struct fs *devfs_init()
|
|||
devfs->ops->open_dir = devfs_open_dir;
|
||||
|
||||
devfs->root->flags = VFS_VNO_DIR;
|
||||
devfs->root->fs = devfs;
|
||||
|
||||
int res = vfs_mount(devfs, "dev");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue