Solaris prevent mount on the current working directory of other process.
But mount on the parent directory of a cwd is allowed.

Linux or FreeBSD have no such restriction.

I read the source code but couldn't find the reason.
domount() seems to return EBUSY,
only when vn_vfswlock() for the mount point fails or
other file system is already mounted on the mount point.

Is there a relation between these behavior of domount() and
current working directory of a process?
Why mount() return EBUSY when the mount point is cwd of a process?
Is there benefits?

Thanks~
This message posted from opensolaris.org
_______________________________________________
ufs-discuss mailing list
[email protected]

Reply via email to