From: Andreas Krüger <andreas.krueger@in...> - 2011-09-14 16:15:37
-----BEGIN PGP SIGNED MESSAGE-----
Hello, squashfs developers,
what exactly gets included into my squashfs image?
I would like easier control over that.
I would like to be able to feed (on standard
input) to mksquashfs a list of all files and
directories to be squashed, one file or directory
That is, the input should be formated similar to
what is usually fed to "cpio -o". (If "-0" were
also supported, just the better.)
A directory could be required to come first in that
input, before any file below that directory, if
that helps any.
Why would this help me?
I have been using squashfs for backups for some
time. That has been working well for me.
I like the fact that my backups are compressed,
and yet I can access any single file without
unpacking the entire archive.
At least recent backups. I found out the hard way
that I need to fall back to unsquashfs for some
So far, so good. But doing delta backups is not
entirely nice yet: I found no easy way to tell
mksquashfs what exactly to squash.
My present workaround:
I am using LVM snapshots anyway. This way, the
material remains unchanged. In particular, I take
checksums of all files before the squashing
starts, and I don't want intervening changes to
invalidate the checksums.
So, when I do a delta backup, I remove all files
from the LVM snapshot's mount that have not been
changed since the previous backup.
and sincere thanks for providing fine software,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----