[Linux-disciples] Erasing a device node

Stephen R Laniel steve at laniels.org
Sat Dec 4 16:21:47 EST 2004


On Sat, Dec 04, 2004 at 02:17:02PM -0500, Adam Rosi-Kessel wrote:
> sudo dd if=/dev/hdd1 of=/dev/null bs=4096 count=1 skip=47136440
> 
> See if you get a disk error.  (be careful swapping seek and skip; I've
> accidentally written to the wrong area of the disk by confusing them
> before).

No disk errors. Here's the command-line output:

(16:20) slaniel at JeffTweedy:~$ sudo dd if=/dev/hdd1 of=/dev/null bs=4096 count=1 skip=47136440
Sudo password for slaniel at JeffTweedy:
1+0 records in
1+0 records out
4096 bytes transferred in 0.036310 seconds (112807 bytes/sec)

Nothing in syslog. Very sweet. Thanks for the tip, Adam.

-- 
``But now it's just another show
  You leave them laughing when you go
  And if you care, don't let them know
  Don't give yourself away.''
 -Joni Mitchell, "Both Sides Now"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041204/8d17608f/attachment.pgp


More information about the Linux-disciples mailing list