[Bug 439868] Re: UEC images could be smaller

Scott Moser smoser at ubuntu.com
Thu Oct 8 20:30:06 BST 2009


hopefully final resize script. I know this is a bad place for revision
control, so hopefully this will be the last thing put here.  Then, we'll
put this somewhere in bzr.

Newly attached version:
 - works to increase or decrease size of filesystem
 - catches errors and gives error messages (rather than set -e)
 - only uses zcat when necessary (for copies of our 10G uncompressed images, using straight copy is ~25% faster on clock, uses less sys resources too)
 - changes usage from:
  resize-uec-image <old> <new> <size>
  to
  resize-uec-image <old> <size> [new]
  ie, works in place if new is not given (this will not work on a compressed file, obviously).


** Attachment added: "resize-uec-image"
   http://launchpadlibrarian.net/33319021/resize-uec-image

-- 
UEC images could be smaller
https://bugs.launchpad.net/bugs/439868
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.



More information about the Ubuntu-server-bugs mailing list