diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-07 13:18:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-07 13:18:31 +0000 |
commit | 1294daaae9eeece73029f63e425f1c17ccffe61f (patch) | |
tree | 81ce500c0a6215fe5af8f7c52ae80ece676efd61 /perl-install/fs.pm | |
parent | 6e08eee3099215ec076556652b0306fb2e4424f7 (diff) | |
download | drakx-backup-do-not-use-1294daaae9eeece73029f63e425f1c17ccffe61f.tar drakx-backup-do-not-use-1294daaae9eeece73029f63e425f1c17ccffe61f.tar.gz drakx-backup-do-not-use-1294daaae9eeece73029f63e425f1c17ccffe61f.tar.bz2 drakx-backup-do-not-use-1294daaae9eeece73029f63e425f1c17ccffe61f.tar.xz drakx-backup-do-not-use-1294daaae9eeece73029f63e425f1c17ccffe61f.zip |
for greater symmetry with smb, drop isNfs in favour of isThisFs('nfs', ...)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index fbfc37cf2..10da0e72c 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -132,7 +132,7 @@ sub add2all_hds { foreach (@l) { my $s = - isNfs($_) ? 'nfss' : + isThisFs('nfs', $_) ? 'nfss' : isThisFs('smbfs', $_) ? 'smbs' : 'special'; push @{$all_hds->{$s}}, $_; @@ -436,7 +436,7 @@ sub set_default_options { #- news spool to speed up news servers). $options->{noatime} = detect_devices::isLaptop(); } - if (isNfs($part)) { + if (isThisFs('nfs', $part)) { put_in_hash($options, { nosuid => 1, 'rsize=8192,wsize=8192' => 1, soft => 1, }); @@ -525,7 +525,7 @@ sub get_raw_hds { get_major_minor(@{$all_hds->{raw_hds}}); my @fstab = read_fstab($prefix, "/etc/fstab", 'all_options'); - $all_hds->{nfss} = [ grep { isNfs($_) } @fstab ]; + $all_hds->{nfss} = [ grep { isThisFs('nfs', $_) } @fstab ]; $all_hds->{smbs} = [ grep { isThisFs('smbfs', $_) } @fstab ]; $all_hds->{special} = [ (grep { isThisFs('tmpfs', $_) } @fstab), |