From: <ea...@gm...> - 2007-08-14 23:01:38
|
Seems that parted can be used for this after all (according to the post in the gparted forum): Lets say the partition you want to check is a fat32 partition on /dev/hda1. > > >parted /dev/hda1 > > bla bla bla > > >print 1 > > Minor: 1 > Flags: > File System: fat32 > Size: 10.0GB (100%) > Minimum size: 8369MB (83.7%) <------- RIGHT HERE > Maximum size: 10.0GB (100%) > > 100% - 83.7% = 16.3% free > > That's how GParted does it. Hope this helps. > > Patrick Verner > www.partedmagic.com Problem is, this only works for me on non ext* filesystems. Running parted against one of my ext3 backup partitions gives this error: root:# parted /dev/hda print 5 > Error: File system has an incompatible feature enabled. Anyone else get this problem on ext3 partitions as well? |