From 9d6de016ccd932c18001c08c371bf83c6dbff8f0 Mon Sep 17 00:00:00 2001 From: Charles Duffy Date: Thu, 4 Jun 2009 08:44:00 +0100 Subject: [PATCH] mount /dev via tmpfs before MAKEDEV invocation. This ensures that /dev can be bind-mounted when running commands, as initramfs cannot be bind-mounted. --- appliance/make-initramfs.sh.in | 1 + 1 file changed, 1 insertion(+) diff --git a/appliance/make-initramfs.sh.in b/appliance/make-initramfs.sh.in index 7e5dafb..5cdfed3 100755 --- a/appliance/make-initramfs.sh.in +++ b/appliance/make-initramfs.sh.in @@ -131,6 +131,7 @@ cat > init.new <<'__EOF__' #!/bin/sh echo Starting /init script ... PATH=/sbin:/usr/sbin:$PATH +mount -t tmpfs none /dev MAKEDEV mem null port zero core full ram tty console fd \ hda hdb hdc hdd sda sdb sdc sdd loop sd mount -t proc /proc /proc -- 1.8.3.1