[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#669314: NFS: kernel forces trailing slash for export in /proc/self/mounts



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: