Nautilus shows bind mounts as ejectable drives unless mount option x-gvfs-hide is used
On Linux, create a bind mount by adding the following line to /etc/fstab
:
/some/existing/directory /mountpoint none bind
Nautilus will show this directory as a removable drive and include an eject button. Such mounts are not actually ejectable, and clicking the button results in an error message saying that root access would be required.
As discussed in issue #1271 (closed), a workaround is to set up the mount like this:
/some/existing/directory /mountpoint none bind,x-gvfs-hide