From nobody Sun Mar 10 14:48:55 2024 X-Original-To: bugs@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 4Tt2pv3krzz5D0MX for ; Sun, 10 Mar 2024 14:48:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tt2pv2dhwz4tDd for ; Sun, 10 Mar 2024 14:48:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710082135; a=rsa-sha256; cv=none; b=onhVA7GjbnuGOzrbVs2yY3v/OLGh2w4jyFod9uRhM8Yatlw/werD9CGKcP/NKrPabDTJVS gV4iok1q3g7fVEEYv7MNl9cZzF97X5vaZ5PSOkm/Rv07CNoYe0HE5mMoWN9sHRhhJiKySJ B///w6MX8eSxf00OPdveEsfkeNhyIIlkp0zkdfO0OOgY7FrxkYy1OOBTq3oy4royXddx8K GtTPkfmNUuztYSK4ShaTHfzs2trDKnas97hFoXrt9JpFhnP6HxRp1ed1ONO0+Um6ccA+ip GTVBWmHjP2VJ20p0Km2+K/G7r14OfeQky2l6Yfe0ECTLPnXXN5GpauGmPl6oOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710082135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x9rQ2myQ+RY3lal0/o92K1R+Fqub+doow4NBEGxZ4Aw=; b=PntREvTLUfOKbTbH2++SJ3biof1n47jfPSM2drZRMGGer4kAd36ImPpi8fn5KOmfsAhzr6 EzChCfDI+JD9pWAT42wpUvnqNn84exCdPEwQabcbBfF9brqB1pWAd+G7vo56g9MwMB5191 hEDm54Vj03C3600NNmb0qt9uJ0MMUBMHZnd63B6R35hQtiM1vwp2WJzk0JNXplwhI0XiQX TaTYct5RVR3H51xtKydUWgjyX45X91jgHe+sVox0bdR52XwR0oGBXJZxcCIyZ/tNPYNfUp ezjDA9uPkHHWoIWz4+/q6tzIPMBfUrYNAyoGyMJzT7V/JPiIIjcqiW2C+MDTDA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tt2pv27qZzqnC for ; Sun, 10 Mar 2024 14:48:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42AEmtUA005832 for ; Sun, 10 Mar 2024 14:48:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42AEmtVa005831 for bugs@FreeBSD.org; Sun, 10 Mar 2024 14:48:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 207625] mount_smbfs(8): missing description of option "-n opt" Date: Sun, 10 Mar 2024 14:48:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: Christopher.davidson@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207625 Chris Davidson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Christopher.davidson@gmail. | |com --- Comment #3 from Chris Davidson --- The -n option is also not documented in the latest -CURRENT (FreeBSD current.home 15.0-CURRENT FreeBSD 15.0-CURRENT #6 main-n268726-32c7350beb82: Thu Mar 7 21:25:02 EST 2024=20=20=20=20 chrisdavidson@current.home:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64) I did take a look at the source code dig a little deeper and checked out the soruce code (contrib/smbfs/mount_smbfs/mount_smbfs.c). This option does exi= st in the source code but it has comments around it, that it is never reached. Evidence: The case option for 'n' exists on line 180 but on line 179 it has= a comment: /*NOTREACHED*/. Looking through other distribution manual pages they are NOT mentioning this option at all, example:=20 https://www.illumos.org/man/8/mount_smbfs I can not find a reference to it online but the mac os ventura manual pages also do NOT reference this option. My conclusion is two options: 1. Remove the reference in the manual page 2. Update the source code for mount_smbfs.c to make the case reachable. Option 2 "looks" to be resolved by adding a break line to the case above and then testing it out a little. Hope this information is helpful for resolution of this manual page discrepancy. --=20 You are receiving this mail because: You are the assignee for the bug.=