Date: Thu, 11 Jul 2013 12:24:36 +0200 From: Robert Millan <rmh@freebsd.org> To: Jaakko Heinonen <jh@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: Compatibility options for mount(8) Message-ID: <CAOfDtXM320Ca2vJ0tD7d8Oi1DWCDSwDXheeJSeuULQ_Gboia6g@mail.gmail.com> In-Reply-To: <20130710131150.GA74301@jh> References: <CAOfDtXM_KJeLLUcsFA0EZOC8ZgSjKiLKuGeeNPQKCcZwcaJbCQ@mail.gmail.com> <20130710131150.GA74301@jh>
next in thread | previous in thread | raw e-mail | index | archive | help
--047d7b2e52900b496a04e139cd82 Content-Type: text/plain; charset=UTF-8 2013/7/10 Jaakko Heinonen <jh@freebsd.org>: > I am not sure if mount(8) is the right place for the translation. This > seems to be the first string option translated by mount(8). The "rdonly" > compatibility option is translated to "ro" in kernel. Looks inconsistent > to me. Makes sense... I can look this part up later. For now, how about only adding -n? Is everyone fine with that? See attachment. --047d7b2e52900b496a04e139cd82 Content-Type: application/octet-stream; name="mount_n.diff" Content-Disposition: attachment; filename="mount_n.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hizt7muo0 SW5kZXg6IHNiaW4vbW91bnQvbW91bnQuOAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzYmluL21vdW50L21vdW50 LjgJKHJldmlzaW9uIDI1MjgyNCkKKysrIHNiaW4vbW91bnQvbW91bnQuOAkod29ya2luZyBjb3B5 KQpAQCAtMTE4LDYgKzExOCw5IEBACiAuRmwgYQogb3B0aW9uLCBhbHNvIG1vdW50IHRob3NlIGZp bGUgc3lzdGVtcyB3aGljaCBhcmUgbWFya2VkIGFzCiAuRHEgTGkgbGF0ZSAuCisuSXQgRmwgbgor Rm9yIGNvbXBhdGliaWxpdHkgd2l0aCBzb21lIG90aGVyIGltcGxlbWVudGF0aW9uczsgdGhpcyBm bGFnIGlzCitjdXJyZW50bHkgYSBuby1vcC4KIC5JdCBGbCBvCiBPcHRpb25zIGFyZSBzcGVjaWZp ZWQgd2l0aCBhCiAuRmwgbwpJbmRleDogc2Jpbi9tb3VudC9tb3VudC5jCj09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t IHNiaW4vbW91bnQvbW91bnQuYwkocmV2aXNpb24gMjUyODI0KQorKysgc2Jpbi9tb3VudC9tb3Vu dC5jCSh3b3JraW5nIGNvcHkpCkBAIC0yNTMsNyArMjUzLDcgQEAKIAlvcHRpb25zID0gTlVMTDsK IAl2ZnNsaXN0ID0gTlVMTDsKIAl2ZnN0eXBlID0gInVmcyI7Ci0Jd2hpbGUgKChjaCA9IGdldG9w dChhcmdjLCBhcmd2LCAiYWRGOmZMbG86cHJ0OnV2dyIpKSAhPSAtMSkKKwl3aGlsZSAoKGNoID0g Z2V0b3B0KGFyZ2MsIGFyZ3YsICJhZEY6Zkxsbm86cHJ0OnV2dyIpKSAhPSAtMSkKIAkJc3dpdGNo IChjaCkgewogCQljYXNlICdhJzoKIAkJCWFsbCA9IDE7CkBAIC0yNzQsNiArMjc0LDkgQEAKIAkJ Y2FzZSAnbCc6CiAJCQlsYXRlID0gMTsKIAkJCWJyZWFrOworCQljYXNlICduJzoKKwkJCS8qIEZv ciBjb21wYXRpYmlsaXR5IHdpdGggdGhlIExpbnV4IHZlcnNpb24gb2YgbW91bnQuICovCisJCQli cmVhazsKIAkJY2FzZSAnbyc6CiAJCQlpZiAoKm9wdGFyZykgewogCQkJCW9wdGlvbnMgPSBjYXRv cHQob3B0aW9ucywgb3B0YXJnKTsK --047d7b2e52900b496a04e139cd82--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXM320Ca2vJ0tD7d8Oi1DWCDSwDXheeJSeuULQ_Gboia6g>