Hello,

$ systemctl --version
systemd 252 (252-46.el9_5.3.alma.1)

I was trying to use the "x-initrd.mount" option for some tooling in a mount
unit file (instead of using it in fstab and having to parse for it) but it
only seems to work in fstab.
The documentation
https://www.freedesktop.org/software/systemd/man/latest/systemd.mount.html#x-initrd.mount
doesn't seem to include the line:
"Note that this option can only be used in /etc/fstab, and will be ignored
when part of the Options= setting in a unit file."
as some other options do so I thought it should be able to work in a mount
unit file. This is probably due to my lack of understanding of the way it
works though it would be nice if the documentation stated this explicitly
as it does for other options.

Thanks
-k
--
Kaizaad Bilimorya
Systems Administrator - SHARCNET | http://www.sharcnet.ca
Digital Research Alliance of Canada

Reply via email to