mounting fake cd-roms that are on usb sticks

Darac Marjal mailinglist at darac.org.uk
Wed Oct 21 12:06:28 CEST 2015


On Tue, Oct 20, 2015 at 09:01:56AM -0700, Peter F. Patel-Schneider wrote:
> 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.)

Is this a "U3" drive, by any chance? There, the CD-ROM part contains 
drivers/installers for the functionality on the HDD part. The idea was 
that the host OS (the designers only thought to target Windows) would 
see the CD-ROM and an "empty" hard drive, install a launcher application 
from the CD-ROM and that installer would provide access to apps on the 
disk.

You can modify a U3 disk (change the CD-image, remove the CD part and so 
on) with U3-tool: http://u3-tool.sourceforge.net/

> 
> 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
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org

-- 
For more information, please reread.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20151021/6cf37256/attachment.sig>


More information about the Xfce mailing list