All of lore.kernel.org
 help / color / mirror / Atom feed
* whether can NFS exports option 'nohide' work?
@ 2010-01-07  8:58 Bian Naimeng
  2010-01-08  5:02 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Bian Naimeng @ 2010-01-07  8:58 UTC (permalink / raw)
  To: linux-nfs; +Cc: Trond Myklebust, J. Bruce Fields

Hi,

I want to use this option=81C but i find it doesn't work at RHEL5.4GA a=
nd Fedora12.

My /etc/exports like this:
# cat /etc/exports
  /nfsroot/nfsv4	127.0.0.1(rw,nohide,fsid=3D0)
  /nfsroot/nfsv4/dir1	127.0.0.1(rw,nohide,crossmnt)
  /nfsroot/nfsv4/dir2	127.0.0.1(rw,nohide,crossmnt)

Then:

# mkdir /nfsroot/nfsv4/dir1/tmpdir
# echo "best wishes" > /nfsroot/nfsv4/dir1/file1
# echo "happy new year" > /nfsroot/nfsv4/dir2/file2

# service nfs restart
# mount -t nfs4 127.0.0.1:/dir2 /nfsroot/nfsv4/dir1/tmpdir
# mount -t nfs4 127.0.0.1:/dir1 /mnt

There is file2 at /nfsroot/nfsv4/dir1/tmpdir, but nothing at /mnt/tmpdi=
r.
I'm not sure i have used it correctly, and whether it really work?=20
Thanks for your help.

--=20
Best Regards
Bian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-08  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  8:58 whether can NFS exports option 'nohide' work? Bian Naimeng
2010-01-08  5:02 ` J. Bruce Fields
2010-01-08  9:49   ` Bian Naimeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.