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

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

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux