Tmpfs is already disable in GUI on master and this patch
also disables it in GUI on rhel7-branch.
The main issue is, that due to the unique properties
of tmpfs, it doesn't really fit to the current
custom partitioning GUI without big changes.
Some of the issues:
* the GUI can't really handle a filesystem that does not
actually consume any harddrive space
* obviously tmpfs can't reside on RAID or LVM
* there is no way to explicitly create a partition
of a given filesystem type and creating partition with
the default filesystem and changing it to tmpfs seems
wrong
* the same thing for switching a "normal" partition
to tmpfs
So let's disable it for now in the GUI.
It can be reenabled once the GUI can handle it properly.
Martin Kolman (1):
Disable tmpfs in the GUI (#1061666)
pyanaconda/ui/gui/spokes/custom.py | 1 +
1 file changed, 1 insertion(+)
--
1.8.5.3
New subject: [PATCH] Disable tmpfs in the GUI (#1061666)
Tmpfs handling in GUI is currently seriously broken,
so hide tmpfs until this is fixed.
(cherry picked from commit 0067906d7fecde010b4b5d669078e2d3a39c593b)
Signed-off-by: Martin Kolman <mkolman(a)redhat.com>
---
pyanaconda/ui/gui/spokes/custom.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 61506fc..093a81c 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -762,6 +762,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# btrfs is always handled by on_device_type_changed
supported_fs = (obj.type != "btrfs" and
+ obj.type != "tmpfs" and
obj.supported and obj.formattable and
(isinstance(obj, FS) or
obj.type in ["biosboot", "prepboot",
"swap"]))
--
1.8.5.3
Tmpfs handling in GUI is currently seriously broken,
so hide tmpfs until this is fixed.
(cherry picked from commit 0067906d7fecde010b4b5d669078e2d3a39c593b)
Signed-off-by: Martin Kolman <mkolman(a)redhat.com>