mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Andreas Kling](/assets/img/avatar_default.png)
It's implemented as a separate process. How cute is that. Tasks now have a current working directory. Spawned tasks inherit their parent task's working directory. Currently everyone just uses "/" as there's no way to chdir().
10 lines
205 B
Plaintext
Executable file
10 lines
205 B
Plaintext
Executable file
mkdir mnt
|
|
mount -o loop _fs_contents mnt/
|
|
cp ../Userland/sh mnt/bin/sh
|
|
cp ../Userland/id mnt/bin/id
|
|
cp ../Userland/ps mnt/bin/ps
|
|
cp ../Userland/ls mnt/bin/ls
|
|
cp ../Userland/pwd mnt/bin/pwd
|
|
umount mnt
|
|
sync
|