=== removed directory 'bin' === renamed file 'bin/snap.rsync.post' => 'post' === renamed file 'bin/snap.rsync.pre' => 'pre' === removed directory 'sbin' === renamed file 'bin/snap.push.single' => 'snap.push.single' === renamed file 'bin/snap.shell' => 'snap.shell' === renamed file 'sbin/snap.lvm2' => 'snapshot.lvm2' --- sbin/snap.lvm2 2014-02-18 13:43:24 +0000 +++ snapshot.lvm2 2014-02-18 10:33:38 +0000 @@ -29,10 +29,7 @@ lvremove -f "$S_VOL" exit $? } -case file in "$(file -b -s "$S_DEV")"; do - (*XFS*) mount -t xfs -o nouuid "$S_DEV" "$SNAPSHOT" || die_lvremove $?;; - (*) mount "$S_DEV" "$SNAPSHOT" || die_lvremove $?;; -esac +mount "$S_DEV" "$SNAPSHOT" || die_lvremove $? SNAP_SRC=$SNAPSHOT export SNAP_SRC touch $SNAP_SRC/.snapshot.$(date +%s)