Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Are you doing it in the command line or in fstab? –  gajdipajti Apr 13 '12 at 6:50
add comment

1 Answer 1

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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