only the first two enteries in /etc/exports show up
Garrett Cooper
yaneurabeya at gmail.com
Fri Feb 27 07:06:47 UTC 2015
On Feb 26, 2015, at 22:47, John-Mark Gurney <jmg at funkthat.com> wrote:
> 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.
Some potentially amusing, but related reading… https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191218 ;).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150226/a4e4e847/attachment.sig>
More information about the freebsd-hackers
mailing list