devfs: enable writing to device files

This commit is contained in:
Michael Shaw 2024-02-13 00:13:06 -05:00
commit 4e2d2d0f4e
2 changed files with 3 additions and 11 deletions

View file

@ -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");