Re: live-persistence.binds and live-snapshot.exclude_list with live-boot 2.0.11-1
In data Saturday 15 January 2011 01:44:43, Csaba Kormendy ha scritto:
> I'd been successfully using live-snapshot (from live-initramfs
> (1.156.1+1.157.2-1)) with debian-live-507-i386-gnome-desktop.iso
> I'd been using /etc/live-snapshot.list and /etc/live-snapshot.exclude_list
> and life was good.
> I am now testing with debian-sq-live-rc1-i386-gnome-desktop.iso which
> provides live-snapshot via live-boot 2.0.11-1.
> In the newer live-snapshot man page, is see documentation for
> /etc/live-persistence.binds but the documentation for
> /etc/live-snapshot.exclude_list has been omitted.
It seems to be there in both debian-old and debian-next branch of live-boot
Maybe you use somthing like konqueror for reading manpages? Try with plan
> There are examples for both live-persistence.binds
> and live-snapshot.exclude_list in /usr/share/doc/live-boot/examples so I'm
> guessing that there is an intent for both of these files to be supported by
> live-boot/live-snapshot. However, I am having problems with
> using live-persistence.binds, so I've tried the
> now-undocumented live-snapshot.exclude_list as well.
> /etc/live-snapshot.list seems to work ok in that I can limit the snapshot
> to contain just "/etc/live-snapshot.list" and "/home".
> What I'd like to do now is exclude things like "/home/user/.mozilla".
> If I have just /home/user/.mozilla in /etc/live-persistence.binds, .mozilla
> still ends up in live-sn.cpio.gz and I don't see the tmpfs described on the
> man page.
persistence.binds regard snapshot run time, exclude_list is about snapshot
build time. So it is correct that you get this behaviour.
> I tried to make a snapshot with the default "/live/cow", but exclude a few
> things (/var/log) using live-persistence.binds/live-snapshot.exclude_list.
> However, in this case I end up with an empty live-sn.cpio.gz. Is
> live-snapshot.list required in order to
> use live-persistence.binds/live-snapshot.exclude_list?
No, it should not.
If live-snapshot.list does not exist it creates a list of all files in /cow.
The bug (please open one n the BTS) is that in this case your exclude lists
needs to have relative paths.
Thanking for spotting it. Ill' commit a fix.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.