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

Re: Wrong example in exports(5)



On Sat, 31 Jan 2004, Gerardo A. Gregory,Omaha-IT,402-970-1463,402-933-1419 wrote:

> I recently had to setup a NFS server to host our corporate email users
> home directories.  /etc/exports was a headache and a half.  Especialy
> regarding whitespace...[the syntax is very sensitive to whitespace]
> 
> I tried using a single 'whitespace' between each entry [i.e. {using
> the example previously supplied} /usr -maproot=0:10 friends].

<snip>

> Through trial and error I found out that the actual working format
> (and what seems to be the proper syntax) should be;
> 
> directory_path<space>any_maproot_or_alldir_flags<TAB>hostname<space>hostname
> 2
> 
> Notice that the first and second fields are seperated by a single
> whitespace, but one must tabulate between these fields and the
> hostname(s)  which then are seperated by whitespace if more than one
> host...at least that is the only way it worked for me.

 My /etc/exports DO NOT have any TABs and it works normally.
 

 Best Regards,

 -- 
 Eduardo A. Alvarenga 
 Analista de Suporte
 Centro Estratégico Integrado / SEGUP-PA
 (91) 259-0555 / 8116-0036