Bug 472431

Summary: nofail option as a checkbox option in edit mount point for partitions
Product: [Applications] partitionmanager Reporter: lukasmueller187
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lukasmueller187 2023-07-20 11:47:04 UTC
Hi there,
when editing the mount point of a partition (especially external devices), it may be beneficial to provide the option "nofail" as a checkbox, besides the other options.
Of course one can add this using the "More..." button, but for newbie users this might result in issues. Therefore I'd say the "nofail" option (maybe default checked) is a good idea for external devices.

Best regards
Comment 1 Bug Janitor Service 2024-03-30 11:44:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/partitionmanager/-/merge_requests/46
Comment 2 Andrius Štikonas 2024-04-04 00:08:00 UTC
Git commit e6283022319e66c581cc77e7c0a88be4dc85fb31 by Andrius Štikonas, on behalf of Thomas Bertels.
Committed on 04/04/2024 at 00:06.
Pushed by stikonas into branch 'master'.

Add an fstab nofail mount option

nofail mounts won't prevent the system from booting if not mountable.
systemd will stil try to mount them in an asynchronous way, and add an
error to the log if it fails.
Most mount points, apart from / and /home should be mounted with nofail
to prevent entering to recovery mode with a bootable system.
partitionmanager doesn't remove fstab entries after removing a
partition, which currently leads to recovery mode on the next boot.

M  +1    -0    src/gui/editmountpointdialogwidget.cpp
M  +16   -9    src/gui/editmountpointdialogwidgetbase.ui

https://invent.kde.org/system/partitionmanager/-/commit/e6283022319e66c581cc77e7c0a88be4dc85fb31