From owner-freebsd-current@freebsd.org Sun May 7 22:52:35 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7B72D62C92; Sun, 7 May 2017 22:52:35 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670069.outbound.protection.outlook.com [40.107.67.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 465F3F38; Sun, 7 May 2017 22:52:34 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0190.CANPRD01.PROD.OUTLOOK.COM (10.165.218.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Sun, 7 May 2017 22:52:32 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.1075.019; Sun, 7 May 2017 22:52:32 +0000 From: Rick Macklem To: Claude Buisson , FreeBSD Current CC: FreeBSD-STABLE Mailing List Subject: Re: Recent FreeBSD, NFSv4 and /var/db/mounttab Thread-Topic: Recent FreeBSD, NFSv4 and /var/db/mounttab Thread-Index: AQHSfJfpteLPu545NESwV/c/JyXxzaFUr0tBgJUhHQyAAC5EAIAAD+VG Date: Sun, 7 May 2017 22:52:32 +0000 Message-ID: References: <20c2baca-ba91-19b4-db95-5352b56019c1@orange.fr> , <17039eeb-fd0d-a0f7-19bf-48c75013f222@orange.fr> In-Reply-To: <17039eeb-fd0d-a0f7-19bf-48c75013f222@orange.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTXPR01MB0190; 7:+kT+CC1vAuM7atCG8YIYjf7/NDmSLiPSORehs1r/uMowV77XObebAjzgdO9OXXl88W640oRhZDtBA5WSBxu7DgsFERah3JjGbNw9/RKIj2oQdSyLV11W1KIiKOIL9bGA7hSB3kZeqhHFcfOkKRW5uTaOKLnyJ/gxpiOAvbv74GkNePrpa0disjch2Mo6UgmAaauID7xTCMIufut/L0XSoibvxGfi74KfNCp/rL/Eqaoz8waUHFi49JhtqjJtMzyozHyf84d31pqQJADQ8fFJGB1smb/djTJLX1vgRIlq42pLBz3hVGN6cdW/R51i2U3E+WyQ4HusxHyzUaUBNLQ8Ew== x-ms-office365-filtering-correlation-id: 9c2309d4-ab49-4bd4-540e-08d4959bbf53 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:YTXPR01MB0190; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(211171220733660); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(6041248)(20161123558100)(20161123562025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123564025)(6072148); SRVR:YTXPR01MB0190; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0190; x-forefront-prvs: 03008837BD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39400400002)(39410400002)(24454002)(53936002)(2950100002)(3280700002)(5660300001)(93886004)(305945005)(25786009)(7696004)(2906002)(9686003)(55016002)(122556002)(478600001)(3660700001)(74316002)(38730400002)(33656002)(74482002)(54356999)(6506006)(50986999)(76176999)(4326008)(6436002)(86362001)(229853002)(8936002)(8676002)(2900100001)(77096006)(81166006)(102836003)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0190; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2017 22:52:32.7836 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0190 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2017 22:52:35 -0000 Claude Buisson wrote: [stuff snipped] > This is really an long delayed answer !! Just made it to the top of my "to do" list... > 1) I am afraid of a confusion on your side between mounttab which is > managed on the CLIENT, and mountdtab which is managed of the SERVER. Ok, now that I've looked, I see what you are talking about. To be honest, I= never knew this file even existed (it doesn't on the systems I run, since it has = never been created on them;-). > 2) Since my first mail, I patched mount_nfs(4) (client side) not to > write an entry in mounttab in the NFS4 case. But: Yes, I would say all that is needed is the call to add_mtab() in mount_nfs.= c be made conditional on a non-NFSv4 mount. Thanks for reporting this, rick