Return-Path: linux-nfs-owner@vger.kernel.org Received: from riis.snl.salk.edu ([198.202.70.55]:55592 "EHLO riis.snl.salk.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263Ab2IPUlb (ORCPT ); Sun, 16 Sep 2012 16:41:31 -0400 Subject: Re: Bug#669314: NFS: kernel forces trailing slash for export in /proc/self/mounts Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_AEB92D0E-0D9F-486A-AF2E-1E9A90BECDCE"; protocol="application/pkcs7-signature"; micalg=sha1 From: Chris Hiestand In-Reply-To: <1347804028.13258.267.camel@deadeye.wl.decadent.org.uk> Date: Sun, 16 Sep 2012 13:41:31 -0700 Cc: 669314@bugs.debian.org, viro@zeniv.linux.org.uk, Trond Myklebust , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Micheal Waltz , Gabriel Evanoff Message-Id: References: <8F8193BD-84C6-4905-8789-DE7EB2579A4E@salk.edu> <1347762073.13258.188.camel@deadeye.wl.decadent.org.uk> <254E1AAA-BDE2-41A8-94D8-6E677860AD72@salk.edu> <1347804028.13258.267.camel@deadeye.wl.decadent.org.uk> To: Ben Hutchings Sender: linux-nfs-owner@vger.kernel.org List-ID: --Apple-Mail=_AEB92D0E-0D9F-486A-AF2E-1E9A90BECDCE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 16, 2012, at 7:00 AM, Ben Hutchings wrote: > This was my first thought - but what if userland provides a device = name > with a slash on the end? I think we have to report it back with the > slash in that case. That is a great point. We could not find any standard as to whether or = not there should be a trailing slash. And from all the examples I could find, there seems to be a convention = of omitting a trailing slash. However, if userland provides a trailing slash, it would seem = appropriate to retain it. As a point of comparison, matching the given input is the behavior of = 2.6.32-5 in Debian Squeeze. So I think your approach is better. -Chris= --Apple-Mail=_AEB92D0E-0D9F-486A-AF2E-1E9A90BECDCE Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=sm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