Date: Sat, 18 Nov 2023 08:13:31 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: freebsd-current@freebsd.org Subject: Re: autofs -hosts maps Message-ID: <0837C3D3-AD50-4AA9-996E-2111C28CA2C9@cs.huji.ac.il> In-Reply-To: <20231118034747.B044210F@slippy.cwsent.com> References: <20231118034747.B044210F@slippy.cwsent.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > 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 [-- Attachment #2 --] <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On 18 Nov 2023, at 5:47, Cy Schubert <Cy.Schubert@cschubert.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Hi,<br><br>The discussion about NFS exports of ZFS snapshots prompted me to play <br>around with -hosts maps on my network. -hosts maps are mounted on /net.<br><br>I've discovered that -hosts maps don't work with most shares but do with <br>others. I've only played with this for a few minutes so I don't fully <br>understand why some maps work and others not. Some of underlying <br>directories that don't work are ZFS while others are UFS.<br><br>Yet, auto_home maps mounting the same directories does work. And mounting <br>the shares by hand (using mount_nfs) also works.<br><br>Just putting this out there should someone else have noticed this.<br><br>I'll play around with this a little over the weekend.<br><br><br></div></div></blockquote><div><br></div>it’s subdirectories that don’t work?</div><div>if so it’s a bug/feature of -hosts.</div><div><br></div><div>danny</div><div><br><blockquote type="cite"><div><div><br>-- <br>Cheers,<br>Cy Schubert <Cy.Schubert@cschubert.com><br>FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org<br>NTP: <cy@nwtime.org> Web: https://nwtime.org<br><br><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>e^(i*pi)+1=0<br><br><br><br><br></div></div></blockquote></div><br><div> <div>Daniel Braniss</div><div>danny@cs.huji.ac.il</div><div><br></div><br class="Apple-interchange-newline"> </div> <br></body></html>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0837C3D3-AD50-4AA9-996E-2111C28CA2C9>
