SCIENTIFIC-LINUX-USERS Archives

May 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Lauro <[log in to unmask]>
Reply To:
John Lauro <[log in to unmask]>
Date:
Sat, 17 May 2014 00:40:44 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
That would only wipe one partition, not the entire drive.  If you want to erase the entire drive use /dev/sdc (or whatever device).

Also, be aware that unlike hard drives, for flash drives it likely does not "erase" the drive.  Internally the drive might just mark the sectors as all clear and flag the previous contents as erasable without actually clearing the flash.  With a highly over provisioned enterprise drive it may wait to actually clear the flash chips. Not that the original data would be easily accessible (probably have to take the drive apart), but it is something to keep in mind if there is sensitive data...

----- Original Message -----
> From: "ToddAndMargo" <[log in to unmask]>
> To: "Scientific Linux Users" <[log in to unmask]>
> Sent: Saturday, May 17, 2014 12:11:29 AM
> Subject: /dev/zero and flash drives
> 
> Hi All,
> 
> On a flash drive, does the following not only ease the drive,
> but does it also turn off all the charges?
> 
>        dd bs=4096 if=/dev/zero of=/dev/sdc1
> 
> Many thanks,
> -T
> 
> 
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 

ATOM RSS1 RSS2