index : archi486 | |
Archlinux32 i486 tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-09-02 09:18:52 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-09-02 09:18:52 +0200 |
commit | 52be99d8c0862ff87db9a4f9ccec1ac4b5f7caed (patch) | |
tree | 1a1a1c98090afd8459cc8f045f9de2d4a7cba5ab /floppy/ramdisk/etc | |
parent | 15adaba9eaa6a98c8b55bc5c5f73c3a9e0e55e7a (diff) |
-rwxr-xr-x | floppy/ramdisk/etc/init.d/rc | 8 | ||||
-rw-r--r-- | floppy/ramdisk/etc/inittab | 6 | ||||
-rw-r--r-- | floppy/ramdisk/etc/modules.conf | 1 | ||||
l--------- | floppy/ramdisk/etc/mtab | 1 | ||||
-rw-r--r-- | floppy/ramdisk/etc/resolv.conf | 1 |
diff --git a/floppy/ramdisk/etc/init.d/rc b/floppy/ramdisk/etc/init.d/rc new file mode 100755 index 0000000..c923778 --- /dev/null +++ b/floppy/ramdisk/etc/init.d/rc @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "Starting RAMDisk.." +mount -t proc none /proc +mount -t sysfs none /sys +mount -t devtmpfs none /dev +mkdir /dev/pts +mount -t devpts none /dev/pts diff --git a/floppy/ramdisk/etc/inittab b/floppy/ramdisk/etc/inittab new file mode 100644 index 0000000..30228cf --- /dev/null +++ b/floppy/ramdisk/etc/inittab @@ -0,0 +1,6 @@ +::sysinit:/etc/init.d/rc +::askfirst:-/bin/cttyhack /bin/sh +::restart:/sbin/init +::ctrlaltdel:/sbin/reboot +::shutdown:/bin/umount -a +tty1::askfirst:-/bin/sh diff --git a/floppy/ramdisk/etc/modules.conf b/floppy/ramdisk/etc/modules.conf new file mode 100644 index 0000000..df66d3f --- /dev/null +++ b/floppy/ramdisk/etc/modules.conf @@ -0,0 +1 @@ +options ne io=0x300 irq=10 diff --git a/floppy/ramdisk/etc/mtab b/floppy/ramdisk/etc/mtab new file mode 120000 index 0000000..5c4677a --- /dev/null +++ b/floppy/ramdisk/etc/mtab @@ -0,0 +1 @@ +../proc/self/mounts
\ No newline at end of file diff --git a/floppy/ramdisk/etc/resolv.conf b/floppy/ramdisk/etc/resolv.conf new file mode 100644 index 0000000..1ea217a --- /dev/null +++ b/floppy/ramdisk/etc/resolv.conf @@ -0,0 +1 @@ +nameserver 192.168.1.1 |