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).
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).