Roger Oberholtzer wrote:
On Thu, Mar 1, 2018 at 9:36 AM, Peter Suetterlin <pit@astro.su.se> wrote:
You'll need both an .automount and a .mount unit file. One (existing) example would be (at least on my TW)
These exist. For example (CIFS systemd automount via /etc/fstab):
-rw-r--r-- 1 root root 226 Mar 1 09:35 media-mma\x2dsql\x2d1-data1.automount
# Automatically generated by systemd-fstab-generator
.....
I would expect that the DirectoryMode option should be in the .automount file. But I guess it should go in an override file. And that is what I am trying to figure out.
Well, you do not need the fstab entry, you can as well only use those two files, and put them in /etc/systemd/system. But following the manpage, anything in there will override the other files. So you should be able to have both, the auto-generated and the /etc file, where the latter then can contain only additional settings. Without the fstab, it would have to contain all info (which might be preferable, as then everything is in one place...) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org