Re: autofs -hosts maps

From: Hans Ottevanger <hans_at_beastielabs.net>
Date: Sat, 18 Nov 2023 10:48:20 UTC
On 11/18/23 07:13, Daniel Braniss wrote:
> 
> 
>> On 18 Nov 2023, at 5:47, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
>>
>> Hi,
>>
>> The discussion about NFS exports of ZFS snapshots prompted me to play
>> around with -hosts maps on my network. -hosts maps are mounted on /net.
>>
>> I've discovered that -hosts maps don't work with most shares but do with
>> others. I've only played with this for a few minutes so I don't fully
>> understand why some maps work and others not. Some of underlying
>> directories that don't work are ZFS while others are UFS.
>>
>> Yet, auto_home maps mounting the same directories does work. And mounting
>> the shares by hand (using mount_nfs) also works.
>>
>> Just putting this out there should someone else have noticed this.
>>
>> I'll play around with this a little over the weekend.
>>
>>
> 
> it’s subdirectories that don’t work?
> if so it’s a bug/feature of -hosts.
> 
> danny
> 
>>
>> -- 
>> Cheers,
>> Cy Schubert <Cy.Schubert@cschubert.com>
>> FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
>> NTP:           <cy@nwtime.org>    Web:  https://nwtime.org
>>
>> e^(i*pi)+1=0
>>
>>
>> €€€€€€€€
>>
> 
> Daniel Braniss
> danny@cs.huji.ac.il
> 
> 
> 

Hi,

Could it be related to the issue in the (old) discussion starting with 
this message:

https://lists.freebsd.org/pipermail/freebsd-current/2014-September/051969.html

-- 
Kind regards,

Hans Ottevanger

Eindhoven, Netherlands
hans@beastielabs.net
www.beastielabs.net