[Bug 1535349] [NEW] `df /dev/sda1` no longer reports information for /dev/sda1
Launchpad Bug Tracker
1535349 at bugs.launchpad.net
Mon Jan 25 08:20:31 UTC 2016
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
It appears that the latest version of coreutils uploaded to trusty-
updates has a regression in it. We have scripting that checks how much
space we have left on a partition using `df /dev/sda1`. Using coreutils
8.21-1ubuntu5.1, we can do the following:
$ df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 978M 8.5G 11% /
This is a valid way of using the tool per the manpage: "If an argument
is the absolute file name of a disk device node containing a mounted
file system, df shows the space available on that file system rather
than on the file system containing the device node"
It appears that either 8.21-1ubuntu5.2 or 8.21-1ubuntu5.3 broke this,
however. We now get output for the udev filesystem that is mounted at
/dev, instead of the device we pass in.
$ df -h /dev/sda1
Filesystem Size Used Avail Use% Mounted on
udev 1.8G 8.0K 1.8G 1% /dev
This is both a behaviour change, and contravenes the manpage, so it
would be good to get this fixed.
** Affects: coreutils (Ubuntu)
Importance: Medium
Assignee: Dave Chiluk (chiluk)
Status: Confirmed
** Affects: coreutils (Ubuntu Trusty)
Importance: Medium
Assignee: Dave Chiluk (chiluk)
Status: Confirmed
** Tags: patch regression-update sts
--
`df /dev/sda1` no longer reports information for /dev/sda1
https://bugs.launchpad.net/bugs/1535349
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list