glusterfs/contrib
Emmanuel Dreyfus 473c34f895 Do not hardcode umount(8) path, emulate lazy umount
1) Use a system-dependent macro for umount(8) location instead of
relying on $PATH  to find it, for security and portability sake.

2) Introduce gf_umount_lazy() to replace umount -l (-l for lazy) invocations,
which is only supported on Linux; On Linux behavior in unchanged. On other
systems, we fork an external process (umountd) that will take care of
periodically attempt to unmount, and optionally rmdir.

BUG: 1129939
Change-Id: Ia91167c0652f8ddab85136324b08f87c5ac1e51d
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8649
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Csaba Henk <csaba@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
2014-10-03 07:57:47 -07:00
..
aclocal Detect python > 2.5, make sure MKDIR_P is substituted 2012-09-09 11:19:18 -07:00
argp-standalone build: make GLUSTERD_WORKDIR rely on localstatedir 2014-08-07 01:17:29 -07:00
fuse-include porting: Port for FreeBSD rebased from Mike Ma's efforts 2014-07-02 17:20:34 -07:00
fuse-lib build: make GLUSTERD_WORKDIR rely on localstatedir 2014-08-07 01:17:29 -07:00
fuse-util build: MacOSX Porting fixes 2014-04-24 14:41:48 -07:00
ipaddr-py geo-rep: implement IP address based access control 2011-09-22 05:24:41 -07:00
libexecinfo build: make GLUSTERD_WORKDIR rely on localstatedir 2014-08-07 01:17:29 -07:00
libgen core: fixes for gcc's '-pedantic' flag build 2013-01-21 22:17:36 -08:00
macfuse porting: Remove unnecessary code from mount_darwin.c 2014-08-29 09:13:18 -07:00
mount porting: Port for FreeBSD rebased from Mike Ma's efforts 2014-07-02 17:20:34 -07:00
qemu osx: Enable qemu feature build on Darwin 2014-08-11 09:02:51 -07:00
rbtree contrib/rbtree: additional license from Richard Fontana 2012-04-30 11:19:08 -07:00
stdlib Renamed TMP_MAX to GF_TMP_MAX to avoid namespace clash on OSX. 2013-03-13 10:33:02 -07:00
sunrpc build: MacOSX Porting fixes 2014-04-24 14:41:48 -07:00
umountd Do not hardcode umount(8) path, emulate lazy umount 2014-10-03 07:57:47 -07:00
uuid build: MacOSX Porting fixes 2014-04-24 14:41:48 -07:00