Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux machine that shares some files through NFS. The shared directory is:

/foo

I then mounted a shared directory (from a Windows machine) to:

/foo/bar

/foo/bar is mounted successfully onto the Linux machine and everything is there. However any other machine that mounts /foo from the Linux machine everything is correctly there except /foo/bar is empty.

Is there anyway to do a "recursive mount" of file shares.

Here is the /etc/fstab entry for the Windows share mount of /foo/bar

//windows_machine/share /foo/bar cifs username=user,password=pass 0 0

And the /etc/fstab entry on the client machines that mount /foo

server:/foo /foo nfs rw 0 0
share|improve this question

1 Answer 1

up vote 1 down vote accepted

You want the nohide export option.

share|improve this answer

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.