Re: autofs -hosts maps

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Sat, 18 Nov 2023 06:13:31 UTC

> 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