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.3.7~1 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=7c285ea84f63e511f95a3c8bfbb98cbf99b9466b todo docs: Discuss shrinking filesystems and specifying sizes in guestfish. --- diff --git a/TODO b/TODO index 2c952b5..b06ae71 100644 --- a/TODO +++ b/TODO @@ -283,3 +283,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.