You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I am a newbie and want to know how can I issue SCSI_WRITE & SCSI_WRITE_SAME to the drive with all 0s to erase the contents on the drive. This is going to be a scsi command directly through the drive and not through the host application.
Thanks
Michael Baeuerle
unread,
Oct 16, 2015, 6:43:39 AM10/16/15
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
On Linux you can use the SCSI generic interface for this purpose.
If you don't want to write the code yourself, look at the sg3_utils
package. There are tools like sgm_dd(8) and sg_write_same(8) for this
purpose.