On existing ext2/ext3 filesystems, init size and targetSize.
On Tue, 2009-03-10 at 14:35 -1000, David Cantrell wrote:
> On existing ext2 and ext3 filesystems, initialize our size property
> to the size of the filesystem in megabytes. Initialize targetSize
> to the size in megabytes of the used space. Use dumpe2fs to collect
> size information as the size does not necessarily match with the
> underlying StorageDevice this format sits on.
Just spitting out ideas here...
It would be cool to move this into a function -- then if the function
raises an exception we could catch it and mark the fs as not resizable.