]> git.proxmox.com Git - pve-common.git/commitdiff
ProcFSTools: implement conforming parse_mounts
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 12 Nov 2015 10:23:39 +0000 (11:23 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 13 Nov 2015 10:16:13 +0000 (11:16 +0100)
There are a few places where we grep over /proc/mounts
without taking the encoding into acount.
ProcFSTools::parse_mounts parses mount data and decodes all
the special character the kernel might encode into it.

Shortcut: parse_proc_mounts to do
parse_mounts(read_proc_mounts()).
is_mounted() updated to parse mounts correctly.


No differences found