mirror_zfs/lib/libzfs
LOLi 4810a108e8 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 16:46:55 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08: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_dataset.c OpenZFS 7600 - zfs rollback should pass target snapshot to kernel 2017-07-04 15:29:52 -07:00
libzfs_diff.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08: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 Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04: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 16:46:55 -07:00
libzfs_pool.c Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
libzfs_sendrecv.c GCC 7.1 fixes 2017-06-28 10:05:16 -07:00
libzfs_status.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
libzfs_util.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Add -c to zpool iostat & status to run command 2016-11-29 14:45:38 -07:00