On 25 February 2011 18:34, Chris Walker <cdw_alug@the-walker-household.co.uk> wrote:
I was trying to dd a laptop drive to an image file on a NAS drive and managed to fill up the / partition.
I've now fixed that but in order to avoid the same problem, can somebody tell me how to duplicate a drive, or at least the recovery partition (it's a Windows drive) by specifying where the temporary file can go? Or if there's a way to do it without generating an intermediate file it would be appreciated.
Unless I misunderstood you, this should never happen. Man dd has no mention of using temporary files for any transfers of any kind. I even straced dd by copying one large file from one partition to another partition. No mention of temporary files in the strace log (tho I did check only the open() syscall, and syscalls at the start of the program when the source and dest files are opened). Perhaps your NAS is working incorrectly? Regards, Srdjan