From: Jeff Layton Subject: Re: =?UTF-8?Q?=E7=AD=94=E5=A4=8D=3A?= Re: [PATCH] manpage: update mount.cifs manpage with info aboutincomplete options Date: Tue, 02 Jan 2018 10:56:20 -0500 Message-ID: <1514908580.3462.7.camel@samba.org> References: 201712081511450916550@zte.com.cn,1512741788.3961.7.camel@samba.org,CAH2r5mvLoDWWbJ0THCF0O0fT5OyUAPmpzvCD8jzsLs0kV8WwKw@mail.gmail.com <201801021817142206552@zte.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pavel Shilovskiy To: zhang.xianwei8-Th6q7B73Y6EnDS1+zs4M5A@public.gmane.org, smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Return-path: In-Reply-To: <201801021817142206552-Th6q7B73Y6EnDS1+zs4M5A@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Yes, we'll be merging it -- thank you! I'm in the process of handing off cifs-utils maintainership to Pavel, and he's working on getting his account set up correctly. Once that's done, we'll merge this patch soon afterward. -- Jeff On Tue, 2018-01-02 at 18:17 +0800, zhang.xianwei8-Th6q7B73Y6EnDS1+zs4M5A@public.gmane.org wrote: > So, could merge the patch? > > > > ------------------原始邮件------------------ > 发件人: ; > 收件人: ; > 抄送人:张贤伟10129966; ; > 日 期 :2017年12月08日 22:30 > 主 题 :Re: [PATCH] manpage: update mount.cifs manpage with info aboutincomplete options > > Anyone have thoughts on this? > > My reaction is that it is more work to remove the aliases, and not > likely to improve usability in this case to remove the alias - so > better to leave the aliases in. > > > On Fri, Dec 8, 2017 at 8:03 AM, Jeff Layton wrote: > > On Fri, 2017-12-08 at 15:11 +0800, zhang.xianwei8-Th6q7B73Y6EnDS1+zs4M5A@public.gmane.org wrote: > > > This commit a1f3acd40b265f134a97a739a6898b3958d206b9 modified mount > > > parameters, but not updated mount.cifs manpage. Fix it. > > > > > > Signed-off-by: Zhang Xianwei > > > --- > > > mount.cifs.rst | 10 +++++----- > > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > > > diff --git a/mount.cifs.rst b/mount.cifs.rst > > > index 023ff34..a4445b8 100644 > > > --- a/mount.cifs.rst > > > +++ b/mount.cifs.rst > > > @@ -48,7 +48,7 @@ OPTIONS > > > ******* > > > > > > > > > -username=arg > > > +username=arg|user=arg > > > specifies the username to connect as. If this is not > > > given, then the environment variable USER is used. > > > > > > @@ -64,7 +64,7 @@ username=arg > > > non-superuser mount. It is therefore recommended to use the full > > > ``username=`` option name. > > > > > > -password=arg > > > +password=arg|pass=arg > > > specifies the CIFS password. If this option is not given then the > > > environment variable PASSWD is used. If the password is not specified > > > directly or indirectly via an argument to mount, mount.cifs will > > > @@ -76,7 +76,7 @@ password=arg > > > variable or via a credentials file (see below) or entered at the > > > password prompt will be read correctly. > > > > > > -credentials=filename > > > +credentials=filename|cred=filename > > > specifies a file that contains a username and/or password and > > > optionally the name of the workgroup. The format of the file is:: > > > > > > @@ -159,12 +159,12 @@ dir_mode=arg > > > If the server does not support the CIFS Unix extensions this overrides > > > the default mode for directories. > > > > > > -ip=arg > > > +ip=arg|addr=arg > > > sets the destination IP address. This option is set automatically if > > > the server name portion of the requested UNC name can be resolved so > > > rarely needs to be specified by the user. > > > > > > -domain=arg > > > +domain=arg|dom=arg|workgroup=arg > > > sets the domain (workgroup) of the user. > > > > > > guest > > > > Honestly, I'd really prefer to move this in the other direction and have > > the kernel/userland programs stop accepting some of these aliases. They > > don't add anything to usability and they are a long-term maintenance > > burden. > > > > We'd probably need a 2-3 releases where we accept the aliases and throw > > a warning when someone tries to use them. Then we can just rip out > > support for them. > > > > That said, if the consensus is to keep the aliases in, then I'll just > > plan to merge this patch. > > > > Anyone have thoughts on this? > > -- > > Jeff Layton > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-cifs" in > > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > -- > Thanks, > > Steve -- Jeff Layton