> I have a 10 GB partition that is nowhere near full, less than 5 GB of data
> on it (far less).  Unfortunately, the partition I'd like to copy it to is
> 5 GB.  I can do "rsync -av" but normally I'd use DD.  Is there a way to copy
> an image of just the files from one drive to another?

In the case where the 10GB indeed has mostly only files in its lower
5GB, it might be worthwhile to do something like:

   resize2fs /dev/foo 4G

and then to `dd' the first 4GB only.  But in all likelyhood "cp -a",
tar, or rsync will be more efficient.


        Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/jwvfwt1z640.fsf-monnier+gmane.linux.debian.u...@gnu.org

Reply via email to