On Monday 24 Oct 2011, Bob Proulx wrote: > David Goodenough wrote: > > Is there a tool which will taks the disk image and adjust it to a > > smaller size (it is far from full - there is plenty of empty space) > > before copying it to the CF. > > You didn't say what filesystem type you are using so this is a > suggestion in the blind, the best I can do. > > Have you looked at 'resize2fs' the ext2/ext3/ext4 file system resizer? > Seems like you should be able to loop mount your image, resize it, > unmount it, then truncate the file to the smaller size. For safety > always keep a backup! > > Bob It is ext3, the problem is that it is a disk image not a partition image, and as far as I know you can only mount partition images as a loop.
David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201110242247.09359.david.goodeno...@btconnect.com