On 8/1/06, Chris Zakelj <[EMAIL PROTECTED]> wrote:
but no luck... I'm hoping to find a faster way to create an image of one drive (a Samsung MP0402H, 40G notebook, to be specific) onto an identical drive than using:
Unless you are using this multiple times, I don't think there is anything faster than just doing it. dd really has no overhead... its the most simplest form of read and write. There is no magic behind it. C code to perform this exact task could be written in less than 20 lines.
# dd if=/dev/rwd0c of=/dev/rwd1c bs=1m
I vaguely recall hearing that placing the drives on separate IDE channels would help
It would. considering this (notebook) disk probably does 10MB/s or so, it probably wouldn't, either. If the disk you are copying from is of a native file system, it would be much quicker to just newfs and copy the files and re-execute installboot. presumably your original disk is not 99% full, so you'd be copying a lot of unused data with dd. Anecdotally, When I worked as a tutor, I helped a student achieve an A+ certificate that landed him a job at a computer repair shop. His first day at work, he was given this task. Using one of the manufacturer-supplied floppy tools, he performed this operation... ...except that he got the input and output backwards, zeroing out the customers data and losing his job. Last I knew he was going back to school to work for the telecommunications industry...