From owner-freebsd-doc@FreeBSD.ORG Tue Jan 20 09:50:03 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39ADE1065673 for ; Tue, 20 Jan 2009 09:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 27BE18FC0A for ; Tue, 20 Jan 2009 09:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0K9o2n7066726 for ; Tue, 20 Jan 2009 09:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0K9o2X9066725; Tue, 20 Jan 2009 09:50:02 GMT (envelope-from gnats) Date: Tue, 20 Jan 2009 09:50:02 GMT Message-Id: <200901200950.n0K9o2X9066725@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Tom Evans Cc: Subject: Re: docs/117013: mount_smbfs(8) doesn't document -U (username) argument X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tom Evans List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 09:50:03 -0000 The following reply was made to PR docs/117013; it has been noted by GNATS. From: Tom Evans To: bug-followup@FreeBSD.org, tevans.uk@googlemail.com Cc: Subject: Re: docs/117013: mount_smbfs(8) doesn't document -U (username) argument Date: Tue, 20 Jan 2009 09:21:51 +0000 Yes, there is no arg parsing code in smbfs/mount_smbfs/mount_smbfs.c that parses the -U flag. It is done inside of smbfs/lib/smb/ctx.c, in the smb_ctx_init() function, which then calls smb_ctx_setuser(). smb_ctx_init() is called from smbfs/mount_smbfs/mount_smbfs.c:131 (in my RELENG_7 sources anyway.) I found this when I was adding my own -U flag to mount_smbfs :) Cheers Tom