Skip to content

Support copying and moving of unsupported partition content

Mike Fleetwood requested to merge mfleetwo/gparted:move-unknown into master

Hi Curtis,

Here's the patchset to enable copying and moving of partitions with unknown file systems. It also implements copying and moving of all other recognised, but otherwise unsupport file systems. Calls them a new basic supported category. The 2 core patches are:

  • [PATCH 02] Limit FILESYSTEM_MAP entries to supported and basic supported FSs
  • [PATCH 03] Enable copy and move for basic supported file systems

It also extends support for unsupported and basic supported file systems. Uses statvfs() to report usage of all mounted file systems, not just fully supported ones. Allows unmounting all mounted file systems, not just fully supported ones. Allows mounting of all partitions with an /etc/fstab entry, not just one with a fully supported file system. After that basic support provides the same level as fully supported UFS. So re-assign it to basic support, and remove it's FileSystem implementation class.

I tried several different ways to implement the core of allowing copying and moving of not fully supported file systems, but this seems the best. See how simple patches 2 and 3 are.

Thanks, Mike

Merge request reports