Re: how to hide nfs share absolute path to the clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-08-26 at 23:36 -0400, Mail Lists wrote:
> Gianluca Cecchi wrote:
> > Hello,
> > I have a file system /fs
> > I want to export a directory /fs/nfsdir and all its subdirectories.
> > As on the client side /etc/fstab is world readable, I would like not to
> > show the absolute path of the server side.
> > Is this possible with any kind of directives at client and/or server side?
> > So that /etc/fstab on the clients would be
> > 
> 
>    Have you considered bind mounting to somewhere different and
> exporting the bind mount ?
> 
>    To do this - on the nfs server fstab add a line something like:
> 
> 
> /nfsapp/foo         /mnt/friendlyfoo        ext3 bind
> 
> then put /mnt/friendlyfoo into your /etc/exports file. This way if yo
> uhave to roll to a backup disk or something you simply bind mount that
> onto the friendly exported name.
> 
>  g
> 
I think he has to define by what he means to hide the links. I suspect,
if you do df -a it will expose the links.
-- 
Joseph Loo
jloo@xxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux