bug#28991: df: wrong output when a FS masks another one

2017-10-25 Thread Pádraig Brady
On 25/10/17 07:57, Stephane Chazelas wrote: > Test case: > > /tmp$ mkdir -p 1/2 > /tmp$ sudo mount -o size=1M -t tmpfs x 1/2 > /tmp$ sudo mount -o size=2M -t tmpfs y 1 > /tmp$ mkdir 1/2 > /tmp$ df -h 1/2 > Filesystem Size Used Avail Use% Mounted on > x 2.0M 0 2.0M 0%

bug#28989: stat(1) man page should reference statfs(2) in addition to stat(2)

2017-10-25 Thread Pádraig Brady
On 25/10/17 03:57, Vincent Lefevre wrote: > According to strace, statfs() is used when the --file-system is used. > > The stat(1) man page has: > > SEE ALSO >stat(2) > > It should have: > > SEE ALSO >stat(2), statfs(2) Pushed in your name at:

bug#28991: df: wrong output when a FS masks another one

2017-10-25 Thread Stephane Chazelas
Test case: /tmp$ mkdir -p 1/2 /tmp$ sudo mount -o size=1M -t tmpfs x 1/2 /tmp$ sudo mount -o size=2M -t tmpfs y 1 /tmp$ mkdir 1/2 /tmp$ df -h 1/2 Filesystem Size Used Avail Use% Mounted on x 2.0M 0 2.0M 0% /tmp/1/2 The Size is correct as that's obtained from statfs()

bug#28989: stat(1) man page should reference statfs(2) in addition to stat(2)

2017-10-25 Thread Vincent Lefevre
According to strace, statfs() is used when the --file-system is used. The stat(1) man page has: SEE ALSO stat(2) It should have: SEE ALSO stat(2), statfs(2) -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: