mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-01 05:49:35 +03:00
4810a108e8
By default the mount(8) command, as invoked by 'zfs mount', will try to resolve any path parameter in its canonical form: this could lead to mount failures when the cwd contains a symlink having the same name of the dataset being mounted. Fix this by explicitly disabling mount(8) path canonicalization. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #1791 Closes #6429 Closes #6437
18 lines
350 B
SYSTEMD
18 lines
350 B
SYSTEMD
[Unit]
|
|
Description=Mount ZFS filesystems
|
|
DefaultDependencies=no
|
|
After=systemd-udev-settle.service
|
|
After=zfs-import-cache.service
|
|
After=zfs-import-scan.service
|
|
After=systemd-remount-fs.service
|
|
Before=local-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@sbindir@/zfs mount -a
|
|
|
|
[Install]
|
|
WantedBy=zfs-share.service
|
|
WantedBy=zfs.target
|