Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-05-2010, 01:10 AM   #1
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 159

Rep: Reputation: 19
Seeking confirmation for shred /dev/sdc

Hi, I have an old flash drive that's got some files, and had some files that seem to have disappeared (it was a freebie flash drive!). So, I wanted to shred it before I tossed it. But I wanted to get some final confirmation before I shred it, that the command shred /dev/sdc would work ok. df output is:

/dev/sdc 513284 9476 503808 2% /media/disk

and /media/disk is that flash drive. Using that shred on the /dev/sdc won't somehow turn around and mess up my partitions or anything right? I just wanted to make 110% sure before I did something that could turn out to kill my system!

Old 05-05-2010, 03:00 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Try it the safe way first. With the flash drive mounted, run "shred /media/disk/* ". That should only shred files showing in /media/disk, and not mess with partitions.
Old 05-09-2010, 06:20 PM   #3
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 20
Posts: 159

Original Poster
Rep: Reputation: 19
Ok,unfortunately it won't erase the files cause it seems the flash drive is just shot, so I did it the old fashioned way - broke it apart, put it between magnets, and will dump it in the garbage - that should do it!

Thanks for the response, it's good to know for the next flash drive.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing grub on /dev/sdb or /dev/sdc Skaperen Ubuntu 4 07-18-2009 08:45 PM
fdisk gives: Unable to read /dev/sdc deathsfriend99 Linux - Newbie 8 03-01-2009 07:00 PM
Installing RIP LinuX on a USB drive - device name /dev/sdc becomes /dev/sda Mleahy Linux - Software 1 07-30-2008 09:57 PM
Unable to read /dev/sdc madunix Linux - Enterprise 2 11-25-2007 09:06 AM
grub on /dev/sdc and live-usb on /dev/sdc1 fitzov Linux - General 2 04-25-2007 12:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

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