[gparted: 5/5] Enhance comment about the 3 levels of file system support



commit dfb7d3e5812eabc3a4437c242c6fedc4d5bda8df
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Nov 11 13:50:22 2018 +0000

    Enhance comment about the 3 levels of file system support
    
    Add a little extra explaining how the file systems' supported actions
    are determined.

 src/GParted_Core.cc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index fa4abbd6..a79cda9c 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -4167,11 +4167,13 @@ void GParted_Core::init_filesystems()
        // File system support falls into 3 categories determined by their entry in
        // FILESYSTEM_MAP:
        // 1)  Fully supported file systems have an entry pointing to the instance of
-       //     their derived FileSystem object.
+       //     their derived FileSystem object, which determines and implements their
+       //     supported actions.
        //     supported_filesystem() -> true
-       // 2)  Basic supported file systems have a NULL pointer entry.
+       // 2)  Basic supported file systems have a NULL pointer entry, with
+       //     find_supported_filesystems() creating a basic set of supported actions.
        //     supported_filesystem() -> false
-       // 3)  Unsupported file systems have no entry.
+       // 3)  Unsupported file systems have no entry, and no supported actions.
        //     supported_filesystem() -> false
        FILESYSTEM_MAP[FS_UNKNOWN]         = NULL;
        FILESYSTEM_MAP[FS_OTHER]           = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]