Re: [PATCH] libmount: after colon, ignore double slashes in path start

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

 



On Wed, Jul 20, 2016 at 02:36:09PM +0200, Ales Novak wrote:
> With NFSv4, the path appearing in /proc/mounts may further differ from
> the one for which it was asked (say in /etc/fstab) and /run/mount/utab.
> That causes problems at least for applying userspace-stored flags (like
> "user").
> 
> server exports | client mounts | /proc/mounts | utab        | ->
>                |               |              |             |
> /tmp           | euler://tmp   | euler:/tmp   | euler://tmp | ERR
>                | euler:/tmp    | euler:/tmp   | euler:/tmp  | OK
>                |               |              |             |
> /              | euler://tmp   | euler://tmp  | euler://tmp | OK
>                | euler:/tmp    | euler://tmp  | euler:/tmp  | ERR
> 

I have applied a different patch (see commit d4e89dea4e8e95cee0cede39dc77618a181b8d19).

It seems like a generic problem and we should be robust enough to
ignore redundant slashes (///aaa/bbb /aaa/bbb/ ...etc).

Please, re-test if the solution works for your use-case.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux