7/22 Playing with dd if=/dev/random of=/dev/<disk> on linux and bsd:
2 questions, on linux when <disk>==hda it always gives me this off
by one report i.e. Records out == records in-1 and says there is an
error. Has anyone else seen this? Second, when trying to repeat this
on bsd, <disk>==rwd0 now, to my surprise, using the install disk and
selecting (S)hell, when I try to dd a 40 gig disk it says "409 records
in, 409 records out, / full". Which is far well below what I'd expect
on a 40 gig. If i actually fdisk the drive, and put a partition I can
dd if=/dev/random of=/dev/[rwd0a],[wd0a] but still get the off by one.
Has anyone else seen this weird behaviour? I'm pretty sure that I
should be able to dd to rwd0 in bsd just as I can dd to hda in linux.
This is an IDE drive btw. Also I set bs=512 and bs=8b to try it out
multiple ways. |