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

Bug#225220: problems with multiple floppy drives



Package: floppy-retriever
Version: 0.15
Severity: wishlist

Hello

Problems arise when the following conditions are met:

 * There are (at least) two floppy drives in the system.

 * The floppy you want to load packages from is in the
   second drive (not in the first).

 * The first drive contains a floppy.

The problem that occurs is that floppy-retriever detects a
floppy in the first drive and mounts it, and when no packages
are found in this drive the script fails.

Better behavior:

 * Always ask which drive to load packages from if there are
   multiple floppy drives in the system.

 * If no packages are found on the floppy in the first drive,
   try the next drive. (The problem with this is that the first
   floppy may contain packages already loaded, and now you want
   to load the packages from the second drive instead.)

Also, the ask_dev function in the floppy-retriever script
has this suspicious way of getting possible devices to
pick from:

  for dev in `find /dev/floppy /dev/scsi /dev/ide /dev/disc`; do

I recommend /dev/floppy/? rather than /dev/floppy. And I don't
understand why scsi, ide and disc are enumerated as well - what
do they have to do with floppies?

Regards,

Oskar (oskar@osk.mine.nu)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux oskar 2.4.22 #3 Sun Oct 12 17:38:30 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=en_GB




Reply to: