summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-20 22:10:00 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-20 22:10:00 +0000
commitdb97cfe30d0824effd1462934d43df58ffa7d9bb (patch)
tree4afbfacf7607fe5313a639fdf3d7dfa81f869a75 /perl-install/fs.pm
parent56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd (diff)
downloaddrakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar
drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.gz
drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.bz2
drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.xz
drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.zip
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index fadb328a1..7379e6d2e 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -24,10 +24,9 @@ sub read_fstab($) {
open F, $file or return;
map {
- my ($dev, $mntpoint, @l) = split;
+ my ($dev, @l) = split;
$dev =~ s,/(tmp|dev)/,,;
- while (@l > 4) { $mntpoint .= " " . shift @l; }
- { device => $dev, mntpoint => $mntpoint, type => $l[0], options => $l[1] }
+ { device => $dev, mntpoint => $l[0], type => $l[1], options => $l[2] }
} <F>;
}