From nobody Sat Nov 18 10:48:20 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SXVqX53Lzz50wcc for ; Sat, 18 Nov 2023 10:48:24 +0000 (UTC) (envelope-from hans@beastielabs.net) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXVqW2ln0z4KSn for ; Sat, 18 Nov 2023 10:48:23 +0000 (UTC) (envelope-from hans@beastielabs.net) Authentication-Results: mx1.freebsd.org; none X-KPN-MessageId: eb29f208-85ff-11ee-abd3-005056999439 Received: from smtp.kpnmail.nl (unknown [10.31.155.6]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id eb29f208-85ff-11ee-abd3-005056999439; Sat, 18 Nov 2023 11:47:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kpnmail.nl; s=kpnmail01; h=content-type:from:to:subject:mime-version:date:message-id; bh=7JlSjf+Zthlidriz1W7e3LJwR+whWqRWgWNr7SodaPo=; b=gPQziTfjSItXRimbx+F7KsDlYiMTJc9jtK/PTk0T5CfLqoE1q7R0sjQ+AdnHk6oCLAkR8oBy0h27e ZBwEAwiJQwOHXOzbpuE9SjOGQZWqyEN/ZF3Jy07wPaaZSYgloiggqwyQ03KbXaEojG09A/kVcaQoK4 WK02RcKkoFMSJ/4M= X-KPN-MID: 33|UwOMSy4BXKmS5bcldId59wmFgqdZW6pS1KrRGS5oSJUuY4U5uOkGd8hiWzyC42k Tcge7etac1aLNlkLqR0w+vx360IlqvKkVWh/n6KK8y2o= X-KPN-VerifiedSender: No X-CMASSUN: 33|x2oJNuEDxzY7Yp5Ko4k938ezosjQyOEYotNpkWJMA7rGnCHgPhs13t1okPiRUpI dNc9pcQOJ9W4MuamxdWf9qw== X-Originating-IP: 77.171.212.158 Received: from [192.168.66.163] (77-171-212-158.fixed.kpn.net [77.171.212.158]) by smtp.xs4all.nl (Halon) with ESMTPSA id fd1d8830-85ff-11ee-9dc8-00505699772e; Sat, 18 Nov 2023 11:48:20 +0100 (CET) Message-ID: <42673c74-c76c-4eef-be95-47a910eb95a8@beastielabs.net> Date: Sat, 18 Nov 2023 11:48:20 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: autofs -hosts maps Content-Language: en-US To: Daniel Braniss References: <20231118034747.B044210F@slippy.cwsent.com> <0837C3D3-AD50-4AA9-996E-2111C28CA2C9@cs.huji.ac.il> From: Hans Ottevanger Cc: Current FreeBSD , Cy.Schubert@cschubert.com In-Reply-To: <0837C3D3-AD50-4AA9-996E-2111C28CA2C9@cs.huji.ac.il> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8737, ipnet:195.121.64.0/18, country:NL] X-Rspamd-Queue-Id: 4SXVqW2ln0z4KSn On 11/18/23 07:13, Daniel Braniss wrote: > > >> On 18 Nov 2023, at 5:47, Cy Schubert 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 >> FreeBSD UNIX:     Web:  https://FreeBSD.org >> NTP:               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