zfs/lib/libzfs
LOLi 9000a9fac9 Disable mount(8) canonical paths in do_mount()
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
2017-08-21 09:31:54 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_config.c OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a" 2017-02-03 13:24:44 -08:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_crypto.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_dataset.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_diff.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_fru.c OpenZFS 8046 - Let calloc() do the multiplication in libzfs_fru_refresh 2017-04-09 16:07:42 -07:00
libzfs_import.c Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
libzfs_iter.c GCC 7.1 fixes 2017-06-28 10:05:16 -07:00
libzfs_mount.c Disable mount(8) canonical paths in do_mount() 2017-08-21 09:31:54 -07:00
libzfs_pool.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_sendrecv.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
libzfs_status.c Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
libzfs_util.c Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00