mounting fake cd-roms that are on usb sticks

Peter F. Patel-Schneider pfpschneider at gmail.com
Tue Oct 20 18:01:56 CEST 2015


I have USB stick that presents as both a CD-ROM drive and a regular drive.
(Why?  I guess so that the CD-ROM part cannot be modified.)

The regular drive is detected, shows up on the desktop, and is mounted fine.
However, the CD-ROM part does not even show up on the desktop and the only way
I can figure out to mount it is `sudo mount /dev/sr0 /mnt`.

I would like to have this drive to at least show up on the desktop, and
preferably be automounted.  Does anyone know how to do this?

peter

PS:  Here is an edited system log of what happens when the stick is plugged in.

kernel: usb 1-1: new high-speed USB device number 20 using xhci_hcd
kernel: usb 1-1: New USB device found, idVendor=058f, idProduct=6387
kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-1: Product: Mass Storage
kernel: usb 1-1: Manufacturer: Generic
kernel: usb 1-1: SerialNumber: B763F0E4
kernel: usb-storage 1-1:1.0: USB Mass Storage device detected
kernel: scsi host5: usb-storage 1-1:1.0
mtp-probe[3142]: checking bus 1, device 20:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
mtp-probe[3142]: bus: 1, device: 20 was not an MTP device
kernel: scsi 5:0:0:0: CD-ROM            Generic  Autorun Disk     8.00 PQ: 0
ANSI: 4
kernel: scsi 5:0:0:1: Direct-Access     Generic  Flash Disk       8.01 PQ: 0
ANSI: 4
kernel: sr 5:0:0:0: [sr0] scsi3-mmc drive: 52x/52x cd/rw xa/form2 tray
kernel: sr 5:0:0:0: Attached scsi CD-ROM sr0
kernel: sr 5:0:0:0: Attached scsi generic sg2 type 5
kernel: sd 5:0:0:1: Attached scsi generic sg3 type 0
kernel: sd 5:0:0:1: [sdc] 3639996 512-byte logical blocks: (1.86 GB/1.73 GiB)
kernel: sd 5:0:0:1: [sdc] Write Protect is off
kernel: sd 5:0:0:1: [sdc] Mode Sense: 23 00 00 00
kernel: sd 5:0:0:1: [sdc] Write cache: disabled, read cache: enabled, doesn't
support DPO or FUA
kernel:  sdc: sdc1
kernel: sd 5:0:0:1: [sdc] Attached SCSI removable disk


More information about the Xfce mailing list