> 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.
You want sd0c or rsd0c (hint: man 4 sd, FILES section).