LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2011, 05:04 AM   #1
dk_zero-cool
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Rep: Reputation: 0
Protected partitions?


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?
 
Old 06-09-2011, 05:08 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
There is a tool at the SanDisk website to remove it - well, at least for OS X and Windows.
 
Old 06-09-2011, 05:17 AM   #3
dk_zero-cool
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Original Poster
Rep: Reputation: 0
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.
 
Old 06-09-2011, 05:25 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Guess again. Somebody has to;
a) have access to the proprietary code, and
b) be prepared to write something to fix it.

Needs time and ability (at least).
 
Old 06-09-2011, 05:30 AM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
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.
 
Old 06-09-2011, 05:50 AM   #6
dk_zero-cool
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Original Poster
Rep: Reputation: 0
#5 Thanks for the explanation, did not know that.

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Displaying the contents of buffers in a protected and non-protected critical section mashhype Programming 5 11-22-2010 09:41 PM
Change primary partitions to logical partitions AND migrate their data? chickenlinux Linux - Hardware 10 04-04-2010 04:31 PM
windows killed my partitions! no linux partitions found on this computer. The MJ Linux - Software 10 01-05-2007 08:31 AM
Question on creating more partitions than default ones, i.e. /home,/root partitions casmac SUSE / openSUSE 1 12-20-2006 05:02 PM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration