diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-07 12:35:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-07 12:35:13 +0000 |
commit | af38b82796a8eed3b6ae0ffbb4850c89ed4e6257 (patch) | |
tree | eccaa17659fc87a443626b838e835c01d46f09b5 /perl-install | |
parent | cc1764aed407378151d4889e760a180e2d3c4a54 (diff) | |
download | drakx-af38b82796a8eed3b6ae0ffbb4850c89ed4e6257.tar drakx-af38b82796a8eed3b6ae0ffbb4850c89ed4e6257.tar.gz drakx-af38b82796a8eed3b6ae0ffbb4850c89ed4e6257.tar.bz2 drakx-af38b82796a8eed3b6ae0ffbb4850c89ed4e6257.tar.xz drakx-af38b82796a8eed3b6ae0ffbb4850c89ed4e6257.zip |
(mount): precise the type when mounting in standalone (for smb, nfs would not need it)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index d70480d2c..5156a9c4c 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -597,7 +597,7 @@ sub mount { my @fs_modules = qw(vfat hfs romfs ufs reiserfs xfs jfs ext3); if (member($fs, 'smb', 'smbfs', 'nfs') && $::isStandalone) { - system('mount', $dev, $where, '-o', $options) == 0 or die _("mount failed"); + system('mount', '-t', $fs, $dev, $where, '-o', $options) == 0 or die _("mount failed"); return; #- do not update mtab, already done by mount(8) } elsif (member($fs, 'ext2', 'proc', 'usbdevfs', 'iso9660', @fs_modules)) { $dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs'; |