← Back to team overview

touch-packages team mailing list archive

[Bug 1432871] [NEW] `df` shows bind mounts instead of real mounts.

 

You have been subscribed to a public bug:

Depending on mount path length df sometimes prioritizes showing bind
mounts over real mounts

for example.
$ mount
<snip>
192.168.1.2:/raid on /raid type nfs (rw,nosuid,nodev,noexec,vers=4,addr=192.168.1.2,clientaddr=192.168.1.3)
/dev/sdc5 on /data type ext4 (rw)
<snip>
/data/a on /a type none (rw,bind)
/raid/temp on /b type none (rw,bind)

$df
Filesystem           1K-blocks       Used  Available Use% Mounted on
<snip>
/data/a              449830616  229975284  196982196  54% /a
/raid/temp          7752072192 5581343744 1780023296  76% /b
</snip>

I'd expect to see the real mount prioritized over the bind mount.  Like so.
$df
Filesystem           1K-blocks       Used  Available Use% Mounted on
<snip>
/dev/sdc5            449830616  229975284  196982196  54% /data
192.168.1.2:/raid   7752072192 5581438976 1779929088  76% /raid
<snip>

** Affects: coreutils (Ubuntu)
     Importance: Undecided
     Assignee: Dave Chiluk (chiluk)
         Status: New


** Tags: cts patch
-- 
`df` shows bind mounts instead of real mounts.
https://bugs.launchpad.net/bugs/1432871
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to coreutils in Ubuntu.