mount points with whitespace are not escaped

Jeremy Drake cygwin@jdrake.com
Tue Jun 4 00:57:00 GMT 2024


On Mon, 3 Jun 2024, Jeremy Drake via Cygwin wrote:

> /proc/self/mounts and /proc/self/mountinfo use octal escapes for ' ' and
> \n (I was rather surprised they didn't escape \r also, but I guess they
> don't have to because only ' ' and \n are used as delimiters):

Went looking at Linux source code, I guess they escape ' ' \n and \, and
"recently" added #
(https://github.com/torvalds/linux/commit/ed5fce76b5ea40c87b44cafbe4f3222da8ec981a)


More information about the Cygwin mailing list