Bug 364955 - no mount options anywhere for external drives, e.g. vfat shortname
Summary: no mount options anywhere for external drives, e.g. vfat shortname
Status: REOPENED
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.16.0
Platform: OpenSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 04:45 UTC by rlk
Modified: 2022-01-16 19:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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