docs/117013: mount_smbfs(8) doesn't document -U (username) argument
Tom Evans
tevans.uk at googlemail.com
Tue Oct 23 16:00:04 UTC 2007
The following reply was made to PR docs/117013; it has been noted by GNATS.
From: Tom Evans <tevans.uk at googlemail.com>
To: bug-followup at FreeBSD.org, tevans.uk at googlemail.com
Cc:
Subject: Re: docs/117013: mount_smbfs(8) doesn't document -U (username)
argument
Date: Tue, 23 Oct 2007 16:31:37 +0100
--=-oc6/tBYJBxZR45KehEpd
Content-Type: multipart/mixed; boundary="=-UB8N//8Ee+puw4brtl4c"
--=-UB8N//8Ee+puw4brtl4c
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Yes, it really works. The options are parsed in smb_ctx_init() in
contrib/smbfs/lib/smb/ctx.c, which also sets the charset (-E) and the
locale (-L). The -U flag is ignored by the other opt parsing routine in
the same file, smb_ctx_opt().
Attached is a patch that updates the usage as well.
=20
--=-UB8N//8Ee+puw4brtl4c
Content-Disposition: attachment; filename=mount_smbfs.diff.txt
Content-Type: text/x-patch; name=mount_smbfs.diff.txt; charset=UTF-8
Content-Transfer-Encoding: base64
ZGlmZiAtTnViQiAteCAnKi5zdz8nIG1vdW50X3NtYmZzLm9yaWcvbW91bnRfc21iZnMuOCBtb3Vu
dF9zbWJmcy9tb3VudF9zbWJmcy44DQotLS0gbW91bnRfc21iZnMub3JpZy9tb3VudF9zbWJmcy44
CTIwMDctMTAtMTYgMTE6MjQ6MTUuMDAwMDAwMDAwICswMTAwDQorKysgbW91bnRfc21iZnMvbW91
bnRfc21iZnMuOAkyMDA3LTEwLTIzIDE2OjAwOjM5LjAwMDAwMDAwMCArMDEwMA0KQEAgLTEzLDYg
KzEzLDcgQEANCiAuT3AgRmwgTCBBciBsb2NhbGUNCiAuT3AgRmwgTSBBciBjcmlnaHRzIDogTnMg
QXIgc3JpZ2h0cw0KIC5PcCBGbCBODQorLk9wIEZsIFUgQXIgdXNlcm5hbWUNCiAuT3AgRmwgTyBB
ciBjb3duZXIgOiBOcyBBciB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y1UIHRpbWVvdXRdIFstVyB3b3JrZ3JvdXBdIFst
YyBjYXNlXSBbLWQgbW9kZV0gWy1mIG1vZGVdIiwNCi0JIiAgICAgICAgICAgICAgICAgICBbLWcg
Z2lkXSBbLW4gb3B0XSBbLXUgdWlkXSAvL3VzZXJAc2VydmVyL3NoYXJlIG5vZGUiKTsNCisJIiAg
ICAgICAgICAgICAgICAgICBbLWcgZ2lkXSBbLW4gb3B0XSBbLXUgdWlkXSBbLVUgdXNlcm5hbWVd
IC8vdXNlckBzZXJ2ZXIvc2hhcmUgbm9kZSIpOw0KIA0KIAlleGl0ICgxKTsNCiB9DQo=
--=-UB8N//8Ee+puw4brtl4c--
--=-oc6/tBYJBxZR45KehEpd
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQBHHhPZlcRvFfyds/cRAtO2AKCIKr8nPP3CQyPspOAJvIbnUUQAawCgphjE
HEmMll4wpoXnfiehGbMUK7k=
=d8kN
-----END PGP SIGNATURE-----
--=-oc6/tBYJBxZR45KehEpd--
More information about the freebsd-doc
mailing list