William Kenworthy wrote
> This is what I currently use: But I dont have room for two archives, and
> this method doesnt keep versions.  Trying to keep incrementals using
> this has proven to be a disaster. 

Even though Squashfs is read-only (and so is tar, cpio etc.), you can append
to pre-existing Squashfs filesystems without needing to decompress and then
recompress the filesystem.  Because Squashfs detects duplicates, and renames
duplicated files (in the top level directory) at appending, this supports
simple incremental versioning.

For example, you could archive directory "data", delete it, and later add
directories "a" and "b" to the archive without needing the disk space to
decompress directory "data".

If you kept the "data" directory, and later added new files to it, or
modified files, adding the "data" directory to the Squashfs archive a second
time would create two directories "data", the first version, and "data_1"
the second version.  Only files that have been added or have changed in the
data directory will be added to the Squashfs archive, the other files
(presumably the bulk) will be be detected as duplicates and not added.

Phillip Lougher

--
View this message in context: 
http://www.nabble.com/What-can-I-use-for-a-compressed-file-system--t1604870.html#a4362944
Sent from the gentoo-user forum at Nabble.com.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to