summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-28 08:41:55 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-28 08:41:55 +0000
commit0fd59f89b182f978e63220d6d56736f3ea4d9ad6 (patch)
tree19e62113b6d95f024fe0d552ec6d5eb7a0f35fc1
parent5d4f690a679805239ae14290bae48d66d74ad97d (diff)
downloaddraklive-0fd59f89b182f978e63220d6d56736f3ea4d9ad6.tar
draklive-0fd59f89b182f978e63220d6d56736f3ea4d9ad6.tar.gz
draklive-0fd59f89b182f978e63220d6d56736f3ea4d9ad6.tar.bz2
draklive-0fd59f89b182f978e63220d6d56736f3ea4d9ad6.tar.xz
draklive-0fd59f89b182f978e63220d6d56736f3ea4d9ad6.zip
run mkdevices to create nodes for existing devices
-rwxr-xr-xdraklive1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive b/draklive
index e55fc74..2c7fb40 100755
--- a/draklive
+++ b/draklive
@@ -513,6 +513,7 @@ sub create_initrd_scriptlet {
"sh -c 'while ! ls /sys/block/${rrpt_dev}/${rrpt_dev}* >/dev/null 2>&1; do sleep 3; blockdev --rereadpt /dev/${rrpt_dev} >/dev/null 2>&1; done'"),
$debug_shell,
if_($pre, deref_array($pre)),
+ "mkdevices /dev",
($fs eq 'nfs' ? '/bin/mount -n -o ro,nolock' : 'mount') .
if_(@mount_options, " -o " . join(",", @mount_options)) .
" -t $fs " . get_media_source_for_nash($media, 'source') . " $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}",