From owner-freebsd-fs@FreeBSD.ORG Thu Jul 11 10:24:37 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0FD4C9B8; Thu, 11 Jul 2013 10:24:37 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id B90241051; Thu, 11 Jul 2013 10:24:36 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id d13so7556708qak.16 for ; Thu, 11 Jul 2013 03:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=NgTYgBDZrtLWQLbn99bdptbOPhhgXey94WKDY2dIf94=; b=OytQnyDklaSBKwVfwBgWmWIgMc6HtvwBOP+UGQl3WYljzu3X16SsOe+DrUwhxczyAP z9Axjfn9JToPH7aK/+J12WpCd2krVI5WRtFi0GQAl+R9Wj4ZUa4mtr1z71IXDYOay5ZU AbMkmChvszzYNh4Mb5ljD+4WDY66jQlCPo+Lzgv4XslfUvLzPjLCigp8xMD6nu3bHN8p Sb2cMOckXEI4uPvqnWpBu9nfY1I/8sVHBu70642F+USPK7RatDkk3uLKEM6IsWUFgMKi w41zoKDu7/BlNZ4CTu65PG9qfyAiZVXUQqxdK/Hl9XoPKtMPCD8beb8shcyQcFXTfczm gm6g== MIME-Version: 1.0 X-Received: by 10.49.58.70 with SMTP id o6mr28989489qeq.1.1373538276295; Thu, 11 Jul 2013 03:24:36 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.49.26.193 with HTTP; Thu, 11 Jul 2013 03:24:36 -0700 (PDT) In-Reply-To: <20130710131150.GA74301@jh> References: <20130710131150.GA74301@jh> Date: Thu, 11 Jul 2013 12:24:36 +0200 X-Google-Sender-Auth: HMU1-rsvBXSWUOs3Q_CYxnMwg0I Message-ID: Subject: Re: Compatibility options for mount(8) From: Robert Millan To: Jaakko Heinonen Content-Type: multipart/mixed; boundary=047d7b2e52900b496a04e139cd82 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 10:24:37 -0000 --047d7b2e52900b496a04e139cd82 Content-Type: text/plain; charset=UTF-8 2013/7/10 Jaakko Heinonen : > 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 bGFnIGlzCitjdXJyZW50bHkgYSBuby1vcC4KIC5JdCBGbCBvC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