diff options
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 88734a3e4..43b88e69d 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -312,15 +312,7 @@ sub write($$$$) { $useSupermount ? [ "/mnt/zip$i", "/mnt/zip$i", "supermount", "fs=vfat,dev=/dev/zip$i", 0, 0 ] : [ "/dev/zip$i", "/mnt/zip$i", "auto", "user,noauto,nosuid,exec,nodev", 0, 0 ]; - } detect_devices::zips()), - (map_index { #- for LS-120 drives, there are no partitions by default. - my $i = $::i ? $::i + 1 : ''; - mkdir "$prefix/mnt/floppy-ls$i", 0755 or log::l("failed to mkdir $prefix/mnt/floppy-ls$i: $!"); - symlinkf $_->{device}, "$prefix/dev/floppy-ls$i" or log::l("failed to symlink $prefix/dev/floppy-ls$i: $!"); - $useSupermount ? - [ "/mnt/floppy-ls$i", "/mnt/floppy-ls$i", "supermount", "fs=vfat,dev=/dev/floppy-ls$i", 0, 0 ] : - [ "/dev/floppy-ls$i", "/mnt/floppy-ls$i", "auto", "user,noauto,nosuid,exec,nodev", 0, 0 ]; - } detect_devices::ls120s())); + } detect_devices::zips())); write_fstab($fstab, $prefix, @to_add); } |