summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-24 13:44:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-24 13:44:39 +0000
commitf514229af26da10b7469d2e197cbca3db151edb4 (patch)
tree632489df590f4b14cd23e8d25c89a5cca50eb21f /perl-install/fs.pm
parent3d529bf1629377fe34c95ddd756b1063f745dbf1 (diff)
downloaddrakx-backup-do-not-use-f514229af26da10b7469d2e197cbca3db151edb4.tar
drakx-backup-do-not-use-f514229af26da10b7469d2e197cbca3db151edb4.tar.gz
drakx-backup-do-not-use-f514229af26da10b7469d2e197cbca3db151edb4.tar.bz2
drakx-backup-do-not-use-f514229af26da10b7469d2e197cbca3db151edb4.tar.xz
drakx-backup-do-not-use-f514229af26da10b7469d2e197cbca3db151edb4.zip
(mount): allow to mount 'proc' and 'usbdevfs'
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 4cb694561..8fffe95f9 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -518,7 +518,7 @@ sub mount {
if (member($fs, 'smb', 'nfs') && $::isStandalone) {
system('mount', $dev, $where) == 0 or die _("mount failed");
- } elsif (member($fs, 'ext2', @fs_modules)) {
+ } elsif (member($fs, 'ext2', 'proc', 'usbdevfs', @fs_modules)) {
$dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs';
my $flag = c::MS_MGC_VAL();