Subject: bug#17503: df (GNU coreutils) 8.21 not reporting for hfsplus ?

From: crquan <[email-masked]>
Date: Thu, 15 May 2014 15:28:54 -0700

I found my df has a bug not showing entry for this /dev/sda2 hfsplus partition,
this entry really exists in /proc/mounts and /etc/mtab, but df doesn't
report it,

I'm not sure if this is specific to hfsplus? or because of
the mountpoint "/media/user/Macintosh\040HD" has a space?
and /etc/mtab read it as "/media/user/Macintosh\134040HD",
is that a bug of mount program as well?

This is Linux mint running on a mac laptop,

mint ~ # grep hfsplus /proc/mounts /etc/mtab
/proc/mounts:/dev/sda2 /media/user/Macintosh\040HD hfsplus
ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8 0 0
/etc/mtab:/dev/sda2 /media/user/Macintosh\134040HD hfsplus
ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8 0 0

mint ~ # df |grep sda2
mint ~ # df -Th |grep hfs
mint ~ # df --version
df (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjörn Granlund, David MacKenzie, and Paul Eggert.
mint ~ #
mint ~ # mount --version
mount from util-linux 2.20.1 (with libblkid and selinux support)
mint ~ #

Thanks,