Not sure it's possible with rsync. You might want to check out dd.

http://strugglers.net/~andy/blog/2011/03/13/copying-block-devices-between-machines/

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four


On Tue, Jul 19, 2011 at 04:50, Seth Van Oort <[email protected]> wrote:

> First, sorry for the delay.
>
> I am trying to copy to block devices, ie either the whole device or
> just a partition.
>
> On Jul 7, 2:12 pm, Jeremiah Bess <[email protected]> wrote:
> > What device are you trying to write to?
> >
> > Jeremiah E. Bess
> > Network Ninja, Penguin Geek, Father of four
> >
> > On Thu, Jul 7, 2011 at 12:43, Seth Van Oort <[email protected]>
> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi, I'm wondering if there's some special combination of options I
> > > have to use to copy from a file to a device. I have had no problem
> > > copy from a device to a file with the '--copy-devices' option,
> > > however, when I try to copy from the file back to the device, it
> > > always overwrites my device node with a regular file. Any ideas?
> >
> > > Thanks,
> > > Seth
> >
> > > --
> > > You received this message because you are subscribed to the Linux Users
> > > Group.
> > > To post a message, send email to [email protected]
> > > To unsubscribe, send email to
> [email protected]
> > > For more options, visit our group at
> > >http://groups.google.com/group/linuxusersgroup
> > > References can be found at:http://goo.gl/anqri
> > > Please remember to abide by our list rules (
> http://tinyurl.com/LUG-Rulesor
> > >http://cdn.fsdev.net/List-Rules.pdf)
>
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor
> http://cdn.fsdev.net/List-Rules.pdf)
>

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

Reply via email to