Re: findmnt: parsing mountpoints with spaces

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

 



On Tue, Apr 24, 2012 at 04:40:55PM +0200, Marcin Szewczyk wrote:
> Hi,
> 
> is there a way to make findmnt print unambiguous output in case of block
> devices/directories/mountpoints whose names contain spaces? I can see
> that --raw makes findmnt print undecorated output, but spaces remain not
> escaped.
> 
> May I request a feature of escaping spaces and possibly other
> non-printable characters in a fstab manner (\040 for space)?

 Good point, I have already added this to lsblk for LABELs in parsable
 output, it seems that we need this for mountpoint and findmnt too.

 Added to my TODO. Thanks.

    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