LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2010, 07:21 PM   #1
Dafydd
Member
 
Registered: Oct 2008
Posts: 344

Rep: Reputation: 29
Removing read-only file from USB thumb drive


When I insert this USB drive, a 'ls' shows this:
Quote:
dave@dave:/media/$ ls
90B9-56FA cdrom cdrom0 Teragb U3 System
I can remover 90B9-56FA but not 'U3 System'. They are both on the thumb drive.
Quote:
dave@dave:/media$ ls "U3 System"
autorun.inf LaunchPad.zip LaunchU3.exe
Quote:
dave@dave:/media$ ls -l "U3 System"
total 5536
-r-------- 1 dave dave 277 2007-02-12 13:53 autorun.inf
-r-------- 1 dave dave 4558081 2007-02-12 20:23 LaunchPad.zip
-r-------- 1 dave dave 1110016 2007-02-12 19:33 LaunchU3.exe
Quote:
dave@dave:/media$ ls
90B9-56FA cdrom cdrom0 Teragb U3 System
Quote:
dave@dave:/media$ cd "U3 System"
Quote:
dave@dave:/media/U3 System$ sudo rm *
rm: cannot remove `autorun.inf': Read-only file system
rm: cannot remove `LaunchPad.zip': Read-only file system
rm: cannot remove `LaunchU3.exe': Read-only file system
Quote:
dave@dave:/media/U3 System$ chmod 777 *
chmod: changing permissions of `autorun.inf': Read-only file system
chmod: changing permissions of `LaunchPad.zip': Read-only file system
chmod: changing permissions of `LaunchU3.exe': Read-only file system
Here is the tail end of 'mount'
Quote:
dave@dave:/media/U3 System$ mount
/dev/sdb1 on /media/Teragb type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sr1 on /media/U3 System type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, iocharset=utf8,mode=0400,dmode=0500)
/dev/sdc1 on /media/90B9-56FA type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,flush)
I have nothing on the drive worth saving. Would a:
Code:
fdisk /media/90B9-56FA
remove it with out damage or would 1 of these listed in the 'fdisk manual' be more apropos?


cfdisk(8), sfdisk(8), mkfs(8), parted(8), partprobe(8), kpartx(8)

Thanks for any help or insight you might have in matter.
 
Old 07-06-2010, 08:19 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
The only way to remove U3 is to use the windows utility.

http://en.wikipedia.org/wiki/U3

http://www.linuxquestions.org/questi...539/page2.html
 
1 members found this post helpful.
Old 07-06-2010, 11:37 PM   #3
Dafydd
Member
 
Registered: Oct 2008
Posts: 344

Original Poster
Rep: Reputation: 29
Thanks for the insight.
All the 'Win' machines I have access to are in Colorado at present. I can wait til fall.

Thanks again.
Dave
 
  


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
USB thumb drive mounts read only in mandriva 2008 gpatto1 Linux - Newbie 3 01-25-2009 12:32 AM
Saving a file to a USB thumb drive from the command line dbough Linux - Newbie 7 04-17-2007 07:21 PM
Thumb drive is getting read only Fedora core 5. Why?? vmsathar Linux - Software 2 07-19-2006 02:53 AM
USB thumb drive mounting as Read Only baryonyx SUSE / openSUSE 3 05-25-2006 12:57 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM

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

All times are GMT -5. The time now is 10:45 AM.

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