Voelker, Bernhard wrote: > Robert Milasan wrote: > >> That has been fixed, at least in 12.1 and 12.2 (even if it's not fixed >> there is not rootfs entry in /proc/self/mountinfo): > > I know. > The problem is that mount from util-linux has it's own > wrapper for the mount entries which is using mountinfo > while coreutils' df is just calling get_fs_usage() from > gnulib which in turn is reading /etc/mtab - which is > a symlink to /proc/self/mounts in this case. > And that file has both entries. > > So the question is: > * is it a kernel thing to not expose rootfs to > /proc/self/mounts? > * should gnulib's get_fs_usage() switch to reading > mountinfo? > * is it a gnulib thing to not filter the rootfs > entry? > * is it up to coreutils to filter out the rootfs > entry? > * should coreutils' df switch to reading mountinfo? > > There are several possibilities here. > > Jim?
Hi Bernie, I'm away from home for a day or so more, so have less time than usual. I'll be back on Friday.
