[Glibc-bsd-commits] r3944 - trunk/zfsutils/debian
Robert Millan
rmh at alioth.debian.org
Thu Dec 15 18:13:12 UTC 2011
Author: rmh
Date: 2011-12-15 18:13:11 +0000 (Thu, 15 Dec 2011)
New Revision: 3944
Modified:
trunk/zfsutils/debian/changelog
trunk/zfsutils/debian/zfsutils.cron.daily
Log:
zfsutils.cron.daily: Fix to avoid listing children file systems' snapshots as candidates for removal.
Modified: trunk/zfsutils/debian/changelog
===================================================================
--- trunk/zfsutils/debian/changelog 2011-12-11 15:18:05 UTC (rev 3943)
+++ trunk/zfsutils/debian/changelog 2011-12-15 18:13:11 UTC (rev 3944)
@@ -1,3 +1,10 @@
+zfsutils (8.3~svn226546-7) UNRELEASED; urgency=low
+
+ * zfsutils.cron.daily: Fix to avoid listing children file systems'
+ snapshots as candidates for removal.
+
+ -- Robert Millan <rmh at debian.org> Thu, 15 Dec 2011 19:13:01 +0100
+
zfsutils (8.3~svn226546-6) unstable; urgency=low
* Require zfs-modules in zfsutils-udeb, but only versions that provide
Modified: trunk/zfsutils/debian/zfsutils.cron.daily
===================================================================
--- trunk/zfsutils/debian/zfsutils.cron.daily 2011-12-11 15:18:05 UTC (rev 3943)
+++ trunk/zfsutils/debian/zfsutils.cron.daily 2011-12-15 18:13:11 UTC (rev 3944)
@@ -49,7 +49,7 @@
# Remove any snapshots in the same class as today's addition.
LANG=C zfs list -r ${fs} -t snapshot -H -o name,creation \
- | grep @autosnap- \
+ | grep "^${fs}@autosnap-" \
| while read name creation_human ; do
creation="$(LANG=C date +%s -d "${creation_human}")"
echo "$(classify "${creation}") ${creation} ${name}"
More information about the Glibc-bsd-commits
mailing list