[Gluster-devel] Why to fork so many times?

Daniel wangjinxin.java at gmail.com
Tue Jun 7 05:24:31 UTC 2011


Hello hackers: 

I am learning glusterfs and get one question when I reading
contrib/fuse-lib/mount.c fuse_mnt_add_mount(). Why does it fork four
times and the grand-grand-child exec("/bin/mount")? What is the benefit
and the consideration? 

Thank you 

Daniel





More information about the Gluster-devel mailing list