[Fai-commit] r3325 - trunk/lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Mon Mar 27 13:09:43 UTC 2006


Author: lange
Date: 2006-03-27 13:09:43 +0000 (Mon, 27 Mar 2006)
New Revision: 3325

Modified:
   trunk/lib/create_ramdisk
Log:
remove unused code, mkrw is really nice!


Modified: trunk/lib/create_ramdisk
===================================================================
--- trunk/lib/create_ramdisk	2006-03-27 12:36:37 UTC (rev 3324)
+++ trunk/lib/create_ramdisk	2006-03-27 13:09:43 UTC (rev 3325)
@@ -16,9 +16,6 @@
     mke2fs -q -m 0 $ramdevice && echo "ramdisk $ramdevice created"
     mount -n $ramdevice /tmp
 }
-mount --bind /tmp /dev/shm
-# now create the required subdirectories
-mkdir -p /tmp/etc /tmp/target /dev/shm/network /tmp/var/lib/discover
-mkrw /var/run /var/log
-cd /tmp/var && mkdir tmp lock spool
+mkdir -p /tmp/etc /tmp/target
 
+mkrw /dev /var/run /var/log /var/lock /var/lib/discover /etc/sysconfig




More information about the Fai-commit mailing list