Subject: bug#17833: coreutils 8.22 df

From: Pádraig Brady <[email-masked]>
Date: Fri, 11 Jul 2014 09:44:16 +0100

On 07/11/2014 09:39 AM, Gabor Z. Papp wrote:
> * Pádraig Brady <[email-masked]>:
> 
> | > Presumably the version of mount is also quite old on such a system,
> | > and now we would add complexity to current df to work around the
> | > problems of such old mount?
> 
> Lets clear this.
> 
> $ uname -a
> Linux host 3.4.94 #1 SMP Sun Jun 22 09:35:43 CEST 2014 i686 GNU/Linux
> 
> $ /lib/libc.so.6 | grep release
> GNU C Library (GNU libc) stable release version 2.19, by Roland McGrath et al.
> 
> $ mount --version
> mount from util-linux 2.24.1 (libmount 2.24.0: debug, assert)
> 
> So is this an old system? I'm confused whats the problem with the system.
> 
> $ ls -l /etc/mtab 
> -rw-r--r-- 1 root root 391 Jun 22 10:18 /etc/mtab
> 
> $ cat /etc/mtab 
> /dev/md0 / ext3 rw,errors=remount-ro 0 0
> proc /proc proc rw,relatime 0 0
> sysfs /sys sysfs rw,relatime 0 0
> tmpfs /dev tmpfs rw,relatime,size=4k,mode=755 0 0
> devpts /dev/pts devpts rw,relatime,mode=620 0 0
> /dev/md1 /var/archive ext3 rw,errors=remount-ro 0 1
> /var/archive/home /home none rw,bind 0 0
> /var/archive/spool /var/spool none rw,bind 0 0
> /var/archive/www /var/lib/www none rw,bind 0 0

It's an older setup. What distro is this?
You could setup like newer systems by doing:

  cp /etc/mtab{,.safe}
  ln -nsf /proc/mounts /etc/mtab