diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-01 08:53:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-01 08:53:47 +0000 |
commit | 27968886bf2586682cb1a6f45eb8b485dc6a4257 (patch) | |
tree | 8ee761eb8c2fe9067af23fa2d38348284d84ea9f /perl-install/fs.pm | |
parent | 11c086f6eb07e76fec02c5627072d52b4d6cd7d8 (diff) | |
download | drakx-27968886bf2586682cb1a6f45eb8b485dc6a4257.tar drakx-27968886bf2586682cb1a6f45eb8b485dc6a4257.tar.gz drakx-27968886bf2586682cb1a6f45eb8b485dc6a4257.tar.bz2 drakx-27968886bf2586682cb1a6f45eb8b485dc6a4257.tar.xz drakx-27968886bf2586682cb1a6f45eb8b485dc6a4257.zip |
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 5e0bee90d..6ccc8d909 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -195,20 +195,23 @@ sub write($$$) { open F, "> $prefix/etc/mtab" or die "error resetting $prefix/etc/mtab"; my @to_add = ( - [ split ' ', '/dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0' ], +#- [ split ' ', '/dev/fd0 /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0' ], + [ split ' ', '/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0' ], [ split ' ', 'none /proc proc defaults 0 0' ], [ split ' ', 'none /dev/pts devpts mode=0620 0 0' ], (map_index { my $i = $::i ? $::i + 1 : ''; mkdir "$prefix/mnt/cdrom$i", 0755 or log::l("failed to mkdir $prefix/mnt/cdrom$i: $!"); symlinkf $_->{device}, "$prefix/dev/cdrom$i" or log::l("failed to symlink $prefix/dev/cdrom$i: $!"); - [ "/dev/cdrom$i", "/mnt/cdrom$i", "auto", "user,noauto,nosuid,exec,nodev,ro", 0, 0 ]; +#- [ "/dev/cdrom$i", "/mnt/cdrom$i", "auto", "user,noauto,nosuid,exec,nodev,ro", 0, 0 ]; + [ "/mnt/cdrom$i", "/mnt/cdrom$i", "supermount", "fs=iso9660,dev=/dev/cdrom$i", 0, 0 ]; } detect_devices::cdroms()), (map_index { #- for zip drives, the right partition is the 4th. my $i = $::i ? $::i + 1 : ''; mkdir "$prefix/mnt/zip$i", 0755 or log::l("failed to mkdir $prefix/mnt/zip$i: $!"); symlinkf "$_->{device}4", "$prefix/dev/zip$i" or log::l("failed to symlink $prefix/dev/zip$i: $!"); - [ "/dev/zip$i", "/mnt/zip$i", "auto", "user,noauto,nosuid,exec,nodev", 0, 0 ]; +#- [ "/dev/zip$i", "/mnt/zip$i", "auto", "user,noauto,nosuid,exec,nodev", 0, 0 ]; + [ "/mnt/zip$i", "/mnt/zip$i", "supermount", "fs=vfat,dev=/dev/zip$i", 0, 0 ]; } detect_devices::zips())); write_fstab($fstab, $prefix, @to_add); } |