[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#377242: parted_devices: should not list floppy devices



Package: partman-base
Version: 90

Since the switch to 2.6 with udev, partman lists floppy disks as valid 
targets for installation (if the floppy module is loaded).

The change seems to be that before we only had /dev/floppy/*, while we now 
also have /dev/fd0. Apparently parted_devices includes the latter when 
scanning for devices:

# ls -l /dev/fd0
lrwxrwxrwx    1 root   root         8 Jul  7 09:50 /dev/fd0 -> floppy/0

# parted_devices
/dev/scsi/h0st0/bus0/target0/disc  2147483648  VMware, ...
/dev/floppy/0  1474560 Unknown

Moving /dev/fd0 out of the way gets rid of the floppy line:
# mv /dev/fd0 /dev/fd0.sv
# parted_devices
/dev/scsi/h0st0/bus0/target0/disc  2147483648  VMware, ...

I think floppy devices should be suppressed as they are not valid targets 
for installation.

Attachment: pgpQBtUQmUyK8.pgp
Description: PGP signature


Reply to: