You are not logged in.

#1 2021-07-27 15:46:08

leo95
Member
Registered: 2021-07-27
Posts: 2

[systemd-homed] mount options

Good afternoon,

So I have been using systemd-homed for some months, but one issue I couldn't solve is the mounting options. Let me be more specific, I have the standard loopback file(luks+btrfs) working just fine, the main issue is I would like to disable COW or enable autodefrag(I use an hdd, need defragmentation or allocate-on-flush(ext4))
As It is a service to mount the /home/user and the fstab isn't touched, where is the appropriate place to place options on mounting of /home/user ? Do I need to rewrite the service of systemd-homed ?

P.S: It's my first time in this forum besides using ArchLinux for 7 years.

Last edited by leo95 (2021-07-27 15:48:19)

Offline

#2 2021-07-27 21:42:10

loqs
Member
Registered: 2014-03-06
Posts: 19,008

Re: [systemd-homed] mount options

I do not think the options are configurable https://github.com/systemd/systemd/blob … ount.c#L13
So you would need to edit the source to set the options you wanted then locally build systemd with that change.

Offline

Board footer

Powered by FluxBB