From 257aad2c40c2334044c2af7f39b78c554b387281 Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 10 Jun 2006 20:47:10 +0000 Subject: Add new function preserveandhashdisablelines() and use it to disable /dev in flashybrid ramstore. git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@10 8f53b18a-e215-0410-8885-9f593d34873e --- 1_makerootfs.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to '1_makerootfs.sh') diff --git a/1_makerootfs.sh b/1_makerootfs.sh index bd32573..02f5e0a 100755 --- a/1_makerootfs.sh +++ b/1_makerootfs.sh @@ -124,6 +124,9 @@ if [ "$FLASHYBRID" = "yes" ]; then preserveandaddlines "$targettemp/etc/flashybrid/ramtmp" orig 1 $flashybrid_ramtmp preserveandaddlines "$targettemp/etc/flashybrid/ramstore" orig 1 $flashybrid_ramstore preserveandaddlines "$targettemp/etc/flashybrid/diskstore" orig 1 $flashybrid_diskstore + # Disable /dev + # FIXME: Add and honour flag about using udev or not + preserveandhashdisablelines "$targettemp/etc/flashybrid/ramstore" orig 1 "/dev" # Move off flashybrid directories (but leave empty dir behind) mkdir -p "$targetoffline" "$targettemp/ram" "$targettemp/disk" preserveandaddlines "$targettemp/etc/fstab" orig 2 "$diskdev_target\t/disk\t$diskfs\tdefaults,noauto,nolock\t0\t0" -- cgit v1.2.3