diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-03-20 19:27:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-03-20 19:27:10 +0000 |
commit | a10bc69094bf47216b0621e154c4fd6a8ff61689 (patch) | |
tree | ae118e32e17e2ae95964ccdc17be246d57141e01 /perl-install/fs.pm | |
parent | bdbc1b603d0a0cb61bfa3518858bbe333c1a2b16 (diff) | |
download | drakx-a10bc69094bf47216b0621e154c4fd6a8ff61689.tar drakx-a10bc69094bf47216b0621e154c4fd6a8ff61689.tar.gz drakx-a10bc69094bf47216b0621e154c4fd6a8ff61689.tar.bz2 drakx-a10bc69094bf47216b0621e154c4fd6a8ff61689.tar.xz drakx-a10bc69094bf47216b0621e154c4fd6a8ff61689.zip |
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index ed88ea3ee..11deb20f8 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -292,10 +292,12 @@ sub write($$$$) { local *F; open F, "> $prefix/etc/mtab" or die "error resetting $prefix/etc/mtab"; + my ($floppy) = detect_devices::floppies(); + my @to_add = ( $useSupermount ? - [ split ' ', '/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 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/$floppy 0 0" ] : + [ split ' ', '/dev/$floppy /mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0' ], [ split ' ', 'none /proc proc defaults 0 0' ], [ split ' ', 'none /dev/pts devpts mode=0620 0 0' ], (map_index { |