Received: (at submit) by bugs.debian.org; 26 Apr 1997 03:53:54 +0000 Received: (qmail 26939 invoked from network); 26 Apr 1997 03:53:49 -0000 Received: from ppp-87-32.bu.edu (HELO localhost.bu.edu) (128.197.8.244) by master.debian.org with SMTP; 26 Apr 1997 03:53:48 -0000 Received: (from swift@localhost) by localhost.bu.edu (8.8.5/8.8.5) id XAA03719; Fri, 25 Apr 1997 23:53:26 -0400 Date: Fri, 25 Apr 1997 23:53:26 -0400 Message-Id: <199704260353.XAA03719@localhost.bu.edu> From: Subject: dpkg: long fs names reported from df break space calculations To: submit@bugs.debian.org X-Mailer: bug 2.93 Reply-to: swift@alum.mit.edu Package: dpkg Version: 1.4.0.8 df reports the following: ~# df Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda1 2425288 1350769 949126 59% / /dev/hdc1 1245664 473408 772256 38% /windisk /dev/hdc3 474227 13 449720 0% /xtra satellite:/var/lib/dpkg/methods/ftp/debian 301049 62446 223055 22% /mnt ~> df --version df (GNU fileutils) 3.16 Notice that the long fs name causes df to split output for that fs into two lines. This breaks logic in dpkg that tries to determine the available bytes for a long fs. It would say the available bytes is "22%"; my reverse engineering guess is that it's taking the fourth field from a line that matches the right mount directory. The fourth field in this case is the fifth field in the normal case. -- System Information Debian Release: 1.3 Kernel Version: Linux localhost 2.0.30 #1 Thu Apr 24 13:34:49 EDT 1997 i586 unknown Versions of the packages dpkg depends on: libc5 Version: 5.4.23-2 ncurses3.0 Version: 1.9.9e-1