docs/117013: mount_smbfs(8) doesn't document -U (username) argument
Maxim Konovalov
maxim at macomnet.ru
Fri Oct 12 16:30:04 UTC 2007
The following reply was made to PR docs/117013; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: Tom Evans <tevans.uk at googlemail.com>
Cc: bug-followup at freebsd.org
Subject: Re: docs/117013: mount_smbfs(8) doesn't document -U (username)
argument
Date: Fri, 12 Oct 2007 20:25:52 +0400 (MSD)
> Patch attached with submission follows:
>
> --- /usr/src/contrib/smbfs/mount_smbfs/mount_smbfs.8 2007-06-29 11:54:58.000000000 +0100
> +++ mount_smbfs.8 2007-10-04 13:06:15.000000000 +0100
> @@ -13,6 +13,7 @@
> .Op Fl L Ar locale
> .Op Fl M Ar crights : Ns Ar srights
> .Op Fl N
> +.Op Fl U Ar username
> .Op Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
> .Op Fl R Ar retrycount
> .Op Fl T Ar timeout
> @@ -68,6 +69,8 @@
> If no password is found,
> .Nm
> prompts for it.
> +.It Fl U Ar username
> +Use specified username to authenticate with.
> .It Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
> Assign owner/group attributes to the newly created connection.
> .It Fl R Ar retrycount
>
Does it really work? If yes you need to update usage() in
mount_smbfs.c.
Speaking aside it's not clear why do you need -U when the mount
specification has a user part: //user at server/share.
--
Maxim Konovalov
More information about the freebsd-doc
mailing list