[lsb-discuss] FHS Compliance for NFS Mounts

Mike Seda maseda at stanford.edu
Wed Apr 27 14:07:41 PDT 2011


On 04/27/2011 12:19 PM, Jeff Licquia wrote:
> On 04/27/2011 02:58 PM, Mike Seda wrote:
>> Hi All,
>> Here's another OCD question... Where is the best place to mount NFS
>> exports while maintaining FHS compliance?
>>
>> I found this article, which seems to offer a nice solution, but just
>> wanted to check with others to see what their take was:
>> http://blog.loftninjas.org/2008/04/03/fhs-compliance-for-nfs-mounts
>
> The answer depends on what you want to do.  For example, if you want 
> to use shared home directories, you will want to mount those 
> directories under /home.  On my home network, I have some local 
> accounts and some shared accounts; I use /lochome for local home 
> directories and /nethome for shared home directories.  On my server, 
> since those are the same, I use a locally mounted /home (which is 
> exported via NFS to other machines, most of which mount it as /nethome).

This makes sense. I've seen this kind of approach in the past.

>
> Remember that the FHS is intended to guide/limit operating system 
> vendors, not end users.  If a distro were to set up generic NFS 
> sharing by default, /srv/nfs might be a good place to do that.  But if 
> we're talking about home directories, I don't think the FHS requires 
> vendors to move /home to /srv/nfs/home, or anything like that.

Right. Sounds good.



More information about the lsb-discuss mailing list