Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122080 - sys-fs/squashfs-tools - new switch for mksquashfs
Summary: sys-fs/squashfs-tools - new switch for mksquashfs
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 22:30 UTC by Jérôme Poulin
Modified: 2006-02-08 06:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Add the new switch. (mksquashfs.c.patch,2.86 KB, patch)
2006-02-07 22:31 UTC, Jérôme Poulin
Details | Diff
Example script. (backup-etc.sh,471 bytes, text/plain)
2006-02-07 22:32 UTC, Jérôme Poulin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme Poulin 2006-02-07 22:30:14 UTC
I made a patch to add a new switch to mksquashfs, the switch is -append-suffix <name>
The new switch allow you to specify what suffix should be appended to files which already exist in the archive, allowing you to do stuff like backing up data using squashfs by using a `date` output in the suffix, I've made it so if the suffix already exist it appends the original _1 _2 etc...
I have an example script I use to backup my /etc when it has changed, it runs hourly on my computer.
Files follow...
Comment 1 Jérôme Poulin 2006-02-07 22:31:21 UTC
Created attachment 79195 [details, diff]
Add the new switch.
Comment 2 Jérôme Poulin 2006-02-07 22:32:28 UTC
Created attachment 79196 [details]
Example script.

This contains an example on how the new switch can be used.
Comment 3 Jérôme Poulin 2006-02-07 22:33:28 UTC
Comment on attachment 79195 [details, diff]
Add the new switch.

The patch can be applied to the latest ebuild: sys-fs/squashfs-tools-2.2_p2
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 01:44:08 UTC
Please, submit this upstream (phillip at lougher.demon.co.uk or see http://squashfs.sourceforge.net/).
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-02-08 06:18:39 UTC
Jakub is correct.  We do not add functionality to packages that isn't accepted by upstream.  Please send this to Phillip.  If he accepts the patch, then I have no problem adding it *now* rather than waiting for a new version, but we don't want to maintain our own feature sets.