Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a 13GB Reiser4 partition that has only 4GB of data on it. I want to make an image of the partition with "dd", but I don't want to backup the empty space on the drive, how is this possible? Does a tree rebuild with fsck.reiser4 move all of the files to the beginning of the partition?
well you either want to back up all the files, OR you want to image the partition... i assume you mostly don't want to waste the space? just compress the dd output:
i wouldn't have thought so... dd is IO intensive, gzip is cpu intensive. A such you can use both resources to get the job done in a single run wihtout much more time being taken. infact, it could even be quicker to do it this way as it will take less time to write the compressed image than the uncompressed one, so you may save time over all, and get the end result you want.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Yes, sounds plausible that it is quicker. I was thinking of the compression-rate. After all, gzip would compress all the garbage of his entire 9 GB unused space. If that is levelled to a huge zero , shouldn't it compress that much more "tightly"?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.