Skip to content

homectl support for additional or arbitrary mount options #15120

@cmurf

Description

@cmurf

Is your feature request related to a problem? Please describe.
There are a number of use case specific mount options: e.g. on Btrfs, supporting various compression algorithms and levels, autodefrag, flushoncommit, ssd_spread for USB flash, user_subvol_rm_allowed. Possible other file systems have use case specific options as well.
,
Describe the solution you'd like
I think a facility to set arbitrary mount options, set by create and update subcommands, and stored in the homed metadata, and applied every time the volume is activated.

Describe alternatives you've considered
The user could manually -o remount,compress=zstd:1 but as this is an optimization, it's suboptimal to have to do it manually. Plausibly the desktop environment could do this; or maybe systemd supports a user specific generator that could do the remount. Still another option would be supporting /etc/fstab, if the homed UUID is specified in fstab then honor the listed mount options there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁Request for Enhancement, i.e. a feature requesthomedhomed, homectl, pam_homed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions