Berkeley CSUA MOTD:2010:July:22 Thursday <Wednesday, Friday>
Berkeley CSUA MOTD
2010/7/22-8/9 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:53893 Activity:nil
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.
2010/7/22-8/9 [Politics/Domestic] UID:53894 Activity:nil
7/22    Cast of "The Expendables" (2010):
        Our state governor is back to movie business?
        \_ "I'll be back."
        \_ He is Leading By Example!  All you furloughed people, get jobs
           as Hollywood Extras!  So easy!
Berkeley CSUA MOTD:2010:July:22 Thursday <Wednesday, Friday>