summaryrefslogtreecommitdiff
path: root/Kernel/build-root-filesystem.sh
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-08-02 18:33:00 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-08-02 18:33:00 +0200
commitc76668644b6392bac2648c454b599ea00f9a9048 (patch)
tree1bfea5dca7f74b4ada98885fcf51abd887d0e2b1 /Kernel/build-root-filesystem.sh
parent401c87a0ccb7bb72d40622ae326889cacaaf5f7a (diff)
downloadserenity-c76668644b6392bac2648c454b599ea00f9a9048.zip
Build: Add /dev/{hda,hdb,hdc,hdd} files
Now that we can mount additional hard drives, let's actually have some more device files in /dev so you can use them. :^)
Diffstat (limited to 'Kernel/build-root-filesystem.sh')
-rwxr-xr-xKernel/build-root-filesystem.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh
index c8c0cd7dec..29b386b480 100755
--- a/Kernel/build-root-filesystem.sh
+++ b/Kernel/build-root-filesystem.sh
@@ -40,6 +40,10 @@ mknod mnt/dev/keyboard c 85 1
mknod mnt/dev/psaux c 10 1
mknod -m 666 mnt/dev/audio c 42 42
mknod -m 666 mnt/dev/ptmx c 5 2
+mknod mnt/dev/hda b 3 0
+mknod mnt/dev/hdb b 3 1
+mknod mnt/dev/hdc b 4 0
+mknod mnt/dev/hdd b 4 1
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