diff options
Diffstat (limited to 'move')
-rw-r--r-- | move/move.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/move/move.pm b/move/move.pm index fb1d1fc4f..647d2a74e 100644 --- a/move/move.pm +++ b/move/move.pm @@ -105,8 +105,7 @@ sub init { mkdir "/etc/$_" foreach qw(X11); touch '/etc/modules.conf'; - - touch '/etc/mtab'; #- prevents from creating a link to the RO volume thus failing substInFile from fs::umount + symlinkf "/proc/mounts", "/etc/mtab"; #- these files need be writable but we need a sensible first contents system("cp /image/etc/$_ /etc") foreach qw(passwd passwd- group sudoers fstab); @@ -184,7 +183,6 @@ sub init { install2::handleI18NClp(); } - unlink('/etc/mtab'); output('/etc/mtab', ''); touch '/var/run/rebootctl'; drakx_stuff: @@ -577,9 +575,6 @@ sub install2::startMove { require ugtk2; ugtk2::flush(); - #- have a nice mtab (esp. for /cdrom) - system('mount', '-a', '-f'); - #- get info from existing fstab. This won't do anything if we already wrote fstab in configMove fs::get_info_from_fstab($o->{all_hds}, ''); foreach (fsedit::get_really_all_fstab($o->{all_hds})) { |