only the first two enteries in /etc/exports show up

John-Mark Gurney jmg at funkthat.com
Fri Feb 27 06:47:17 UTC 2015


Aryeh Friedman wrote this message on Thu, Feb 26, 2015 at 11:37 -0500:
> having this in /etc/exports:
> 
> 
> /data/home -maproot=root -network 10.0.10.0/24
> /usr/src -maproot=root -network 10.0.10.0/24
> /usr/ports -maproot=root -network 10.0.10.0/24
> 
> produces the following results:
> 
> 
> root at server:/usr/ports # showmount -e
> Exports list on localhost:
> /data/home                         10.0.10.0
> /usr/src                           10.0.10.0
> 
> 
> It doesn't matter what order I list them in only the first two show up
> in showmount

Though others have pointed this out already for the archives, exports(5)
says:
A host may be specified only once for each local file
     or the NFSv4 tree root on the server and there may be only one default
     entry for each server file system that applies to all other hosts.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-hackers mailing list