When a user session starts, I bind some /mnt/nfs_share into /home/username/afolder using mount --bind. Then Nautilus displays the mounted folder as a separate volume and the removable media applet is shown to allow ejection. I would like the binding to be transparent for the user.

Using a symbolic link isn't exactly what I'm looking for, because the user can delete this link from its home directory and the folder appears as external to user home tree.

  • Are you doing it in the command line or in fstab? – gajdipajti Apr 13 '12 at 6:50

I am mounting the nfs shares in my dormitory with this: https://help.ubuntu.com/community/Autofs

| improve this answer | |
  • I've tried to mount /home/auser/nfs_share using autofs, but it still appears as a removable media :-( – Pascal Apr 15 '12 at 6:51
  • Sorry. I used fedora, and in my setup, the mountpoints were written in fstab. I didn't knew ubuntu acted differently. – gajdipajti Apr 15 '12 at 11:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.