Bug 472431 - nofail option as a checkbox option in edit mount point for partitions
Summary: nofail option as a checkbox option in edit mount point for partitions
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 11:47 UTC by lukasmueller187
Modified: 2024-04-04 00:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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