why I told dd command to write but it reads in first?

From: tcs (dzshen_at_winbond.com.tw)
Date: 05/26/04

  • Next message: Josef Moellers: "Re: why I told dd command to write but it reads in first?"
    Date: Wed, 26 May 2004 17:52:46 +0800
    
    

    Greetings!
       I am using `dd` command to measure raw disk write speed.
       I did "dd if=/tmp/test.bin of=/dev/sda1"

       According to my device driver, `dd` command reads in the whole
    /dev/sda1 first then writes to it. Should dd just read /dev/sda1? The
    even weird thing is that dd command reads in as many sectors as the size
    of /tmp/test.bin file, can someone tell me why?

    best regards

    techeng


  • Next message: Josef Moellers: "Re: why I told dd command to write but it reads in first?"

    Relevant Pages

    • [PATCH] Driver for IBM RSA service processor (1/2)
      ... Here is a device driver for the IBM xSeries RSA service processor. ... +static void enqueue_command(struct service_processor *sp, ...
      (Linux-Kernel)
    • Re: [PATCH] Driver Core update for 2.6.4-rc1
      ... Here is a device driver for the IBM xSeries RSA service processor. ... +static void enqueue_command(struct service_processor *sp, ...
      (Linux-Kernel)
    • [PATCH] Driver for IBM service processor - updated (1/2)
      ... Here is a device driver for the IBM xSeries RSA service processor. ... +static void enqueue_command(struct service_processor *sp, ...
      (Linux-Kernel)
    • Re: Tape Drive Problems?
      ... >> My command line argument that was used to produce the error message of ... > and the device driver could not identify it and attach to it. ... I removed the modules of st and osst using the rmmod command then reviewed ... I will continue to use the st0 to read ...
      (comp.os.linux.misc)
    • Re: Tape Drive Problems?
      ... "kbass" writes: ... > My command line argument that was used to produce the error message of ... > I am not sure what is going on but after issuing the a command line of tar ... and the device driver could not identify it and attach to it. ...
      (comp.os.linux.misc)