[gparted/recognise-apfs: 8/8] Enhance comment about the 3 levels of file system support
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted/recognise-apfs: 8/8] Enhance comment about the 3 levels of file system support
- Date: Mon, 12 Nov 2018 20:40:38 +0000 (UTC)
commit 54c5cc0cb288d6eab68f6c914951667ad5e6d096
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]