why I told dd command to write but it reads in first?
From: tcs (dzshen_at_winbond.com.tw)
Date: 05/26/04
- Previous message: Bob Smith: "Re: /proc wrapper (library)"
- Next in thread: Josef Moellers: "Re: why I told dd command to write but it reads in first?"
- Reply: Josef Moellers: "Re: why I told dd command to write but it reads in first?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Bob Smith: "Re: /proc wrapper (library)"
- Next in thread: Josef Moellers: "Re: why I told dd command to write but it reads in first?"
- Reply: Josef Moellers: "Re: why I told dd command to write but it reads in first?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|