From c76668644b6392bac2648c454b599ea00f9a9048 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 2 Aug 2019 18:33:00 +0200 Subject: [PATCH] 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. :^) --- Kernel/build-root-filesystem.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh index c8c0cd7dec0..29b386b4807 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