From: Richard Jones Date: Fri, 23 Apr 2010 13:29:56 +0000 (+0100) Subject: todo docs: Discuss shrinking filesystems and specifying sizes in guestfish. X-Git-Tag: 1.2.4~1 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=6a21c8ccf7f5813ca9a2bb7c869e2a954190110e todo docs: Discuss shrinking filesystems and specifying sizes in guestfish. (cherry picked from commit 7c285ea84f63e511f95a3c8bfbb98cbf99b9466b) --- 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.