From 913b3850c87fd11fd389802995799b4a41ce7da3 Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Sun, 4 Mar 2007 10:48:24 +0000
Subject: [PATCH] fix partitionsfile example to properly use __star__ and note
 why this is needed, in case someone wants to change this (Closes: #409192)

---
 ChangeLog            | 2 ++
 examples/example.sys | 7 ++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0bae02e..9c7ea45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -35,6 +35,8 @@ version 0.9.5 -- unreleased
 	   it succeeds (Closes: #396632)
 	 . Added option to not use sfdisk at all, useful for vserver/xen instances
 	   that produce warnings about no harddisks found (Closes: #404071)
+	 . Fixed example in example.sys to detail the __star__ in partitionsfile and
+	   note why its necessary (Closes: #409192)
     fixed 'make install' bug that failed if /etc/backup.d already existed
     changed spaces to tabs in Makefile.am
     updated examples/Makefile.am and handlers/Makefile.am to include rsnap/rub files
diff --git a/examples/example.sys b/examples/example.sys
index a5b349b..2af2c50 100644
--- a/examples/example.sys
+++ b/examples/example.sys
@@ -25,7 +25,12 @@
 # packagesfile = /var/backups/dpkg-selections.txt
 
 # partitions = yes
-# partitionsfile = /var/backups/partitions.*.txt
+# NOTE: the __star__ below will be replaced by the disks found on the
+# system (e.g. partitions.sda.txt, partitions.sdb.txt). If you change 
+# the partitionsfile default below, be sure to include the __star__ 
+# replacement in the filename, or you will get one file for only one disk, 
+# the others being written to the same file, and then overwritten by the next.
+# partitionsfile = /var/backups/partitions.__star__.txt
 # dosfdisk = yes
 
 # hardware = yes
-- 
GitLab