[Bug 1348530] [NEW] "USB Floppies" a not mounted using $FATFS

Jens Reimann 1348530 at bugs.launchpad.net
Fri Jul 25 08:30:19 UTC 2014


Public bug reported:

The the CD-ROM detection tries to find a USB stick image and mount it as
a base for installation.

For this the tools iterates over all found devices and tries to mount
them. For cdrom devices is of course uses "$CDFS" and for "usb
partition" is tries $CDFS and $FATFS.

But for "usb floppies" is only tries $CDFS, which is ok if an ISO image
was written to a USB stick, but if a bootable FAT image directly gets
installed to the USB stick (without partions, as some image writers do
it), then the installer will boot and not find "a CD ROM" since "USB
Floppies" are not tried via "$FATFS". Which is odd since floppies would
most likely be "$FATFS".

This is all happening in the main loop (while true). Either the first
"for" loop gets enhanced to also try and mount "$FATFS" or gets merged
with the following "for" loop, which already checks both ways.

Description:	Ubuntu 14.04 LTS
Release:	14.04
cdrom-detect-1.46ubuntu1

** Affects: cdrom-detect (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cdrom-detect in Ubuntu.
https://bugs.launchpad.net/bugs/1348530

Title:
  "USB Floppies" a not mounted using $FATFS

Status in “cdrom-detect” package in Ubuntu:
  New

Bug description:
  The the CD-ROM detection tries to find a USB stick image and mount it
  as a base for installation.

  For this the tools iterates over all found devices and tries to mount
  them. For cdrom devices is of course uses "$CDFS" and for "usb
  partition" is tries $CDFS and $FATFS.

  But for "usb floppies" is only tries $CDFS, which is ok if an ISO
  image was written to a USB stick, but if a bootable FAT image directly
  gets installed to the USB stick (without partions, as some image
  writers do it), then the installer will boot and not find "a CD ROM"
  since "USB Floppies" are not tried via "$FATFS". Which is odd since
  floppies would most likely be "$FATFS".

  This is all happening in the main loop (while true). Either the first
  "for" loop gets enhanced to also try and mount "$FATFS" or gets merged
  with the following "for" loop, which already checks both ways.

  Description:	Ubuntu 14.04 LTS
  Release:	14.04
  cdrom-detect-1.46ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdrom-detect/+bug/1348530/+subscriptions



More information about the foundations-bugs mailing list