[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591330: live-snapshot fails to sync at reboot/shotdown

In data lunedì 2 agosto 2010 10:45:21, Luigi Capriotti ha scritto:

I'll paste relevant lines there for convenience:

> http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=scripts/live;h=a17eb
> 423fca132f0aaf03c8ca6f956766eaef797;hb=HEAD#l1052

echo "export ${snap_type}SNAP="/cow${snap_mount#$rootmnt}":${snapdev}:
${snapfile}" >> /etc/live.conf # for resync on reboot/halt

where snap_type is 

> and parsed with:
> http://live.debian.net/gitweb?p=live-boot.git;a=blob;f=bin/live-snapshot;h=
> 08e5fd654adf08609dc9d7a411da83fc58b3f3a1;hb=HEAD#l245

SNAP_COW=$(echo "${SNAP_RESYNC_STRING}" | sed -e 's|
SNAP_DEV=$(echo "${SNAP_RESYNC_STRING}" | cut -f2 -d ':')
SNAP_MNT=$(echo "${SNAP_RESYNC_STRING}" | cut -f3 -d ':')

${snap_mount#$rootmnt} should then be either "/root/" or "/root/home"


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply to: