Well, parted resizes the partitions by playing with the partition table of the disk itself. It doesn't really do anything to the size of the disk, so wouldn't it be sufficient to append zeroes to the end of the file, then use resize2fs to grow the partition?
Where normally we do: grow physical device -> grow block device -> grow filesystem and it means 1) add disks 2) partition / array disks 3) use filesystem resize tool In a file-based partition, (1) would be replaced by growing the file (appending zeroes), and (2) isn't necessary because the file is already the block device (it has no partition table). So I was thinking dd if=/dev/zero bs=1M count=100 >> filename fatresize filename (dunno how to fatresize) would grow your disk by 100M. On Mon, Sep 29, 2008 at 6:14 PM, Slim Joe <[EMAIL PROTECTED]> wrote: > I'm looking for a Linux-based tool that can resize a FAT file system > inside a simple file (not /dev/*). The obvious solution, parted, can > apparently resize FAT file systems only inside device partitions. I'm > looking for capability similar to resize2fs, which can resize a file > containing an ext2/3 file system. Is there such a tool > _________________________________________________ > Philippine Linux Users' Group (PLUG) Mailing List > http://lists.linux.org.ph/mailman/listinfo/plug > Searchable Archives: http://archives.free.net.ph > _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

