Bug 364955

Summary: no mount options anywhere for external drives, e.g. vfat shortname
Product: [Frameworks and Libraries] frameworks-solid Reporter: rlk
Component: generalAssignee: Lukáš Tinkl <lukas>
Status: REOPENED ---    
Severity: major CC: joao.vidal.silva, kde-bugs, kdelibs-bugs, orion, stefan.bruens
Priority: NOR    
Version: 5.16.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=168914
Latest Commit: Version Fixed In:

Description rlk 2016-07-01 04:45:57 UTC
There is no way to specify my choice of mount options for external media -- e. g. I cannot specify shortname=lower, noatime, sync, or any other options I want.

This was reported against KDE4 as bug 168914 in 2008.  It has been causing grief ever since.

Reproducible: Always

Steps to Reproduce:
N/A.  This is technically an RFE, but it is a regression from KDE3(!).
Comment 1 rlk 2016-08-27 18:36:58 UTC
This is a really big headache.  I really need shortname=lower, and I very much want noatime for performance reasons when scanning through a big filesystem.  Is this going to get any attention?
Comment 2 Stefan Brüns 2019-06-11 12:18:45 UTC
Mount options are implemented by udisks, file a bug report there:
https://github.com/storaged-project/udisks/issues
Comment 3 rlk 2019-06-11 12:52:37 UTC
The problem isn't with udisks, which provides a mechanism to specify the mount options:

% udisksctl mount --help
Usage:
  udisksctl mount [OPTION…]

Mount a filesystem.

Options:
  -p, --object-path         Object to mount
  -b, --block-device        Block device to mount
  -t, --filesystem-type     Filesystem type to use
  -o, --options             Mount options
  --no-user-interaction     Do not authenticate the user if needed

The problem is that KDE does not provide a way to specify options that might then be passed through to udisks.
Comment 4 rlk 2021-11-29 20:17:35 UTC
Nudge
Comment 5 rlk 2021-11-29 20:24:43 UTC
My particular use case is that I want to mount all external filesystems (and internal, but that's simply an fstab matter) noatime.  Even relatime drastically slows things down when copying large numbers of files from rotating storage, and on an SSD, it forces unnecessary writes, and I have no use for the access time.

But that's not everyone's use case.  Some people want to mount FAT/VFAT filesystems with different shortname case options, or a different UTC setting, or anything else.  And some people may want some devices mounted differently.
Comment 6 João Vidal da Silva 2022-01-16 19:59:20 UTC
I'm not adding anything new, just nudging. I was just about to enter a new wishlist entry for solid about this issue: I wish I could turn atime off for removable devices, as I use ext4 for most. Something defined on a file would be fine, no need for UI.
Comment 7 rlk 2023-09-08 18:46:36 UTC
Nudge again.