Wiping Out Data
Jeffrey F. Bloss
jbloss at tampabay.rr.com
Wed Mar 28 09:46:18 UTC 2007
Carsten Aulbert wrote:
> Jeffrey F. Bloss wrote:
> > I don't believe this is correct because dd doesn't work at that
> > level. The command you suggested... 'dd if=/dev/random of=/dev/sdb'
> > *should* fail with a "no media" error unless sdb is mounted. Actually
> > it should fail either way because you're not pointing dd at an
> > accessible target partition. But there may be file system specific
> > factors that make YMMV applicable. ;)
>
> Certainly it does work at that level. Try it out yourself with
>
> dd if=/dev/zero of=/dev/hda bs=1M count=1
This is exactly what I tried with a USB device, only using
if=/dev/random. It failed with the "no media" error unless the drive
was mounted.
*shrug*
--
_?_ Outside of a dog, a book is a man's best friend.
(o o) Inside of a dog, it's too dark to read.
-oOO-(_)--OOo------------------------------[ Groucho Marx ]---
http://wrench.homelinux.net/~jeff/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070328/b90e43d8/attachment.sig>
More information about the ubuntu-users
mailing list