[Wylug-help] copy /dev

Don Magee don at leedsweb.dyndns.org
Mon Feb 19 00:53:49 GMT 2007



Thanks, rsync worked fine. And thanks for your input Jim.


Don  Magee

Stephen Patterson wrote:
> On 17 Feb 07, Don Magee (don at leedsweb.dyndns.org) wrote:
> 
>>I feel sure that there is a simple answer to this question but I haven't 
>>found it yet. I am making a copy of a boot disk to put on a different 
>>machine. I've used dd in the past and it all works fine. But this time 
>>the partition size is different so I am using cp. But how do you make an 
>>exact copy of /dev. There doesn't seem to be a cp option or a specific 
>>program to do the job.
> 
> 
> With the right options, rsync can do it
> 
> rsync -av -x --delete /dev/* /mnt/dev
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/wylug-help




More information about the Wylug-help mailing list