From 6a21c8ccf7f5813ca9a2bb7c869e2a954190110e Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones@redhat.com>
Date: Fri, 23 Apr 2010 14:29:56 +0100
Subject: [PATCH] todo docs: Discuss shrinking filesystems and specifying sizes
 in guestfish. (cherry picked from commit
 7c285ea84f63e511f95a3c8bfbb98cbf99b9466b)

---
 TODO | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/TODO b/TODO
index ccf9034..2bff8da 100644
--- a/TODO
+++ b/TODO
@@ -293,3 +293,20 @@ http://la-samhna.de/samhain/
 http://sourceforge.net/projects/aide/
 http://osiris.shmoo.com/
 http://sourceforge.net/projects/tripwire/
+
+Resizing, shrinking, specifying sizes in guestfish
+--------------------------------------------------
+
+Owing to an oversight we don't really supporting shrinking
+filesystems.  See:
+
+https://bugzilla.redhat.com/show_bug.cgi?id=585221
+https://bugzilla.redhat.com/show_bug.cgi?id=585222
+https://bugzilla.redhat.com/show_bug.cgi?id=585223
+
+But a related problem is how to specify sizes to guestfish, ie. "100M"
+or "1G".  Currently the specific alloc and sparse functions contain
+code to parse these size strings, but that cannot be used anywhere
+else that would take a byte count.  This is awkward because some
+commands take units of megabytes (lvresize, sfdiskM) or sectors
+(part-add), with no unifying theme.
-- 
1.8.3.1