From 26d228baa7b2ec5542ae3152ba1b58a186a84884 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 22 Jun 2004 05:44:35 +0000 Subject: - use magicdev for secondary cdrom - have a proper mtab for magicdev+kded to work --- move/move.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'move/move.pm') diff --git a/move/move.pm b/move/move.pm index d08b585c2..29b19a1c9 100644 --- a/move/move.pm +++ b/move/move.pm @@ -120,7 +120,7 @@ sub init { mkdir "/etc/$_" foreach qw(X11); touch '/etc/modules.conf'; touch '/etc/modprobe.conf'; - symlinkf "/proc/mounts", "/etc/mtab"; + cp_f('/proc/mounts', '/etc/mtab'); #- these files need be writable but we need a sensible first contents cp_f("/image/etc/$_", '/etc') foreach qw(passwd passwd- group sudoers fstab); @@ -528,7 +528,7 @@ after_autoconf: require timezone; timezone::write($o->{timezone}); - $o->{useSupermount} = 1; + $o->{useSupermount} = 'magicdev'; fs::set_removable_mntpoints($o->{all_hds}); fs::set_all_default_options($o->{all_hds}, %$o, lang::fs_options($o->{locale})); @@ -663,7 +663,7 @@ sub install2::startMove { eval { swap::swapon($_->{device}) }; } elsif ($_->{mntpoint} && !$_->{isMounted} && !$::noauto) { mkdir_p($_->{mntpoint}); - run_program::run('mount', $_->{mntpoint}); + run_program::run('mount', $_->{mntpoint}) if $_->{options} !~ /noauto/; } } -- cgit v1.2.1