summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-12-02 04:21:20 +0000
committerAchim Gottinger <achim@gentoo.org>2000-12-02 04:21:20 +0000
commit3956ac43cd2788fa9df7a25982cb5c486bec443d (patch)
treeb8c1f344f2f3da87339b42dcaccb46b6d99dd8e7 /sys-apps
parent*** empty log message *** (diff)
downloadgentoo-2-3956ac43cd2788fa9df7a25982cb5c486bec443d.tar.gz
gentoo-2-3956ac43cd2788fa9df7a25982cb5c486bec443d.tar.bz2
gentoo-2-3956ac43cd2788fa9df7a25982cb5c486bec443d.zip
*** empty log message ***
Diffstat (limited to 'sys-apps')
-rwxr-xr-xsys-apps/bootdisk/files/mkcd.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/bootdisk/files/mkcd.sh b/sys-apps/bootdisk/files/mkcd.sh
index 1624291f26e3..a9dcce4db56c 100755
--- a/sys-apps/bootdisk/files/mkcd.sh
+++ b/sys-apps/bootdisk/files/mkcd.sh
@@ -49,9 +49,22 @@ do
ln -s initrd/$i $i
done
+echo "Creating devices"
cd ${ROOT}/dev
ln -s ../initrd/pts pts
+ln -sf ../initrd/dev/initctl .
+ln -sf ../initrd/dev/tty1 .
+ln -sf ../initrd/dev/tty2 .
+for i in console fd0 fd0u1440 hd[abcd]* kmem loop[012] \
+ mem null ptmx ram[01234] scd* sd[abcd]* ttyp[01] ttys[01] \
+ urandom zero
+do
+ cp -af /dev/$i .
+done
+
+ln -s ram0 ram
+mknod initrd b 1 250
echo "Creating /mnt dirs"
cd ${ROOT}/mnt