mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
Kernel: Added unmount ability to VFS
It is now possible to unmount file systems from the VFS via `umount`. It works via looking up the `fsid` of the filesystem from the `Inode`'s metatdata so I'm not sure how fragile it is. It seems to work for now though as something to get us going.
This commit is contained in:
parent
f7251c74a9
commit
bc22456f89
13 changed files with 98 additions and 3 deletions
|
@ -15,7 +15,7 @@ if [ $(id -u) != 0 ]; then
|
|||
fi
|
||||
|
||||
echo -n "creating initial filesystem structure... "
|
||||
mkdir -p mnt/{bin,etc,proc,tmp}
|
||||
mkdir -p mnt/{bin,etc,proc,mnt,tmp}
|
||||
chmod 1777 mnt/tmp
|
||||
echo "done"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue