mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
ZTS: Misc fixes for FreeBSD
* Check for mountd in is_shared to avoid timeout when not running * Enhance robustness of some cleanup functions * Simplify atime lookup * Skip sharenfs validation for now * Don't add mountpoint property to inheritance validation on FreeBSD Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10047
This commit is contained in:
@@ -1328,7 +1328,7 @@ function is_shared_freebsd
|
||||
{
|
||||
typeset fs=$1
|
||||
|
||||
showmount -E | grep -qx $fs
|
||||
pgrep -q mountd && showmount -E | grep -qx $fs
|
||||
}
|
||||
|
||||
function is_shared_illumos
|
||||
|
||||
Reference in New Issue
Block a user