mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
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. :^)
This commit is contained in:
parent
401c87a0cc
commit
c76668644b
Notes:
sideshowbarker
2024-07-19 12:56:18 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c76668644b6
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue