Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an 4 GB USB Drive that bugs me. When I insert it, the fallowing device maps are created in /dev.
1: sdb
2: sdb1
3: sr0
The sr0 is registered as an Optical Disk that I can't remove for some reason. I have tried providing sdb with an new empty partition table, but the sr0 partition does not get removed by this.
I think it's something created by some Live Linux CD I may have put on the disk at some point. The label is named "U3 System" and it contains the files "LaunchPad.zip" and "LaunchU3.exe".
Does anyone have any idea what this is and how to remove it?
I don't own windows or OS X. Besides, I don't see why any special tool would be needed in Linux since I should have complete access to the disk as Linux is not a limited/locked system.
An USB stick is not like a disk, where you can access just the media by address. Instead therein is a microcontroller which handles the communication between USB and the flash storage. When the microcontroller is supplying the partitions all the time, the program in the microcontroller needs to be changed to present a different device to the host.
This microcontroller is also responsible for a static or dynamic relocation of blocks of memory inside the flash storage to get the most out of its lifetime. There was a report some time ago, that even deleted and overridden information in flash memory might still appear at other locations due to the relocation.
But after someone mentioned Scandisk, I did some more searches and found that
writing to /sys/block/sr0/device/delete or /sys/block/scd0/device/delete should remove the partition. (Have not tried yet). Also there is a tool called u3-tool (It's even in some distro's repo's) that is used to work with the U3 partition, even removing it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.