Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to use SSH to make a disk image by using DD on an iPod.

And I'm using this commands:

ssh root@192.168.1.100 dd if=/dev/rdisk0s1 bs=1M | dd of=iphone-root.img

ssh root@192.168.1.100 dd if=/dev/rdisk0s2s1 bs=1M | dd of=iphone-user.img

What's the meaning of: /dev/rdisk0s1 and /dev/rdisk0s2s1? It seems they're references to places in the disk, how can I know how many places are in this disk?

share|improve this question
    
They seem to be how the iPod internally names its disks. Note that the first dd command is being sent to the iPod. –  psusi Nov 27 '12 at 20:14

1 Answer 1

I don't know much about iphone but dd to make an image of a mounted partition of a running system? That's usually a pretty bad idea. If this partition is written to in the middle of the operation you'll most likely end up with an inconsistent image.

Not sure what you're trying to achieve but unless you're making an image of an unmounted partition, I can't see what this could be good for due to the above reason.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.