[systemd-devel] use-case for sparse tar archives

Lennart Poettering lennart at poettering.net
Tue Aug 18 09:29:21 PDT 2015


On Tue, 18.08.15 12:07, Vincent Batts (vbatts at redhat.com) wrote:

> Before submitting a change for this, why is the creation of tar's using
> `--sparse`?
> https://github.com/systemd/systemd/blob/master/src/import/import-common.c#L213

If you save/restore/migrate disk trees that include sparse files like
utmp/wtmp or journal files it sounds like a good idea to keep them
sparse.

Why would you not do this?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list