]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(show_disk, show_point): If several filesystems are
authorJim Meyering <jim@meyering.net>
Tue, 4 May 2004 07:26:33 +0000 (07:26 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 4 May 2004 07:26:33 +0000 (07:26 +0000)
commit3145fdd1eda17c7a24d7561cdeecacef2268d34b
tree6e46ab1bfb9157c78dc521ad6aaf9690ca360bc2
parentb9c20c62fba9fa0ccfc80eaee99eec450f15e950
(show_disk, show_point): If several filesystems are
mounted on the same mount point, prefer the last one, not the first.
Problem reported by Christian Jones in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-04/msg00200.html>.
(show_disk): Remove unused statp arg.  Return bool, not int.
(show_point): Rewrite to avoid gotos.  Use the same algorithm
for lofs and dummies for each pass through the mount table,
rather than subtly different algorithms (which are probably
inadvertent).
src/df.c