diff options
Diffstat (limited to 'source/a/mkinitrd/_initrd-tree/dev/mknodes.sh')
-rwxr-xr-x | source/a/mkinitrd/_initrd-tree/dev/mknodes.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh new file mode 100755 index 00000000..4370db37 --- /dev/null +++ b/source/a/mkinitrd/_initrd-tree/dev/mknodes.sh @@ -0,0 +1,18 @@ +# Run this script in the root of the skeleton tree +# to re-create the required device nodes +mkdir -p dev +mknod -m 644 dev/systty c 4 0 +mkdir -p dev +mknod -m 644 dev/tty1 c 4 1 +mkdir -p dev +mknod -m 644 dev/ram b 1 1 +mkdir -p dev +mknod -m 644 dev/tty2 c 4 1 +mkdir -p dev +mknod -m 644 dev/tty3 c 4 1 +mkdir -p dev +mknod -m 644 dev/null c 1 3 +mkdir -p dev +mknod -m 644 dev/tty4 c 4 1 +mkdir -p dev +mknod -m 644 dev/console c 5 1 |