Base: Rename /users to /home.

I didn't like seeing /users next to /usr. /home looks nicer.
This commit is contained in:
Andreas Kling 2019-02-10 11:18:12 +01:00
parent 2def3d8d3f
commit 5e8d6b1bf4
Notes: sideshowbarker 2024-07-19 15:48:21 +09:00
3 changed files with 6 additions and 2 deletions

View file

@ -1,2 +1,2 @@
root:x:0:0:root:/:/bin/sh
anon:x:100:100:Anonymous,,,:/users/anon:/bin/sh
anon:x:100:100:Anonymous,,,:/home/anon:/bin/sh

View file

@ -1,3 +1,7 @@
if [ $(id -u) != 0 ]; then
echo "This needs to be run as root"
exit
fi
rm -vf _fs_contents.lock
rm -vf _fs_contents
dd if=/dev/zero of=_fs_contents bs=1M count=12
@ -24,7 +28,7 @@ ln -s /proc/self/fd/0 mnt/dev/stdin
ln -s /proc/self/fd/1 mnt/dev/stdout
ln -s /proc/self/fd/2 mnt/dev/stderr
cp -vR ../Base/* mnt/
chown -vR 100:100 mnt/users/anon
chown -vR 100:100 mnt/home/anon
cp -v ../Userland/sh mnt/bin/sh
cp -v ../Userland/id mnt/bin/id
cp -v ../Userland/ps mnt/bin/ps