On Tuesday 13 June 2006 21:14, Joe wrote: > I've having a problem understanding how to write data to a disk. > I want to wipe an old hard drive before getting rid of it. > I have attached the hard drive to my system via usb. > > Normally, this would work (in different OS's): > > # dd if=/dev/urandom of=/dev/sd0 > > However, this command creates a file /dev/sd0 and fills it with random > data. I want to write this data to the disk instead. > > The same thing happens when I use /dev/rsd0. > > Any help would be appreciated.
Not exactly an answer to your question, but you may find http://dban.sourceforge.net/ interesting. -- viq