Activity log for bug #381520

Date Who What changed Old value New value Message
2009-05-29 01:41:53 Jeffry Johnston bug added bug
2009-05-29 01:42:52 Jeffry Johnston description Release of Ubuntu: Description: Ubuntu 8.04.2 Release: 8.04 Version of the package: dosfstools: Installed: 2.11-2.3ubuntu1 Candidate: 2.11-2.3ubuntu1 Version table: *** 2.11-2.3ubuntu1 0 500 http://us.archive.ubuntu.com hardy/main Packages 100 /var/lib/dpkg/status Expected: ~>sudo dosfsck /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sdb1: 846 files, 449437/481366 clusters [n5d0595a] ~>sudo dosfsck -V /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN Starting check/repair pass. Starting verification pass. /dev/sdb1: 846 files, 449437/481366 clusters Actual: ~>sudo dosfsck /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sdb1: 846 files, 449437/481366 clusters [n5d0595a] ~>sudo dosfsck -V /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN Starting check/repair pass. Starting verification pass. /dev/sdb1: 1692 files, 449437/481366 clusters I suspect it is counting the files on both the first and second passes, without resetting the count, and that is why I am seeing a doubled result (846 * 2 = 1692). I can think of 3 possible fixes right now: 1) store the count in a separate variable from the first pass, 2) keep track of the pass and only count during one of them, 3) or clear the count to 0 when starting the second pass. Release of Ubuntu: Description: Ubuntu 8.04.2 Release: 8.04 Version of the package: dosfstools: Installed: 2.11-2.3ubuntu1 Candidate: 2.11-2.3ubuntu1 Version table: *** 2.11-2.3ubuntu1 0 500 http://us.archive.ubuntu.com hardy/main Packages 100 /var/lib/dpkg/status Expected: ~>sudo dosfsck /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sdb1: 846 files, 449437/481366 clusters ~>sudo dosfsck -V /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN Starting check/repair pass. Starting verification pass. /dev/sdb1: 846 files, 449437/481366 clusters Actual: ~>sudo dosfsck /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN /dev/sdb1: 846 files, 449437/481366 clusters ~>sudo dosfsck -V /dev/sdb1 dosfsck 2.11, 12 Mar 2005, FAT32, LFN Starting check/repair pass. Starting verification pass. /dev/sdb1: 1692 files, 449437/481366 clusters I suspect it is counting the files on both the first and second passes, without resetting the count, and that is why I am seeing a doubled result (846 * 2 = 1692). I can think of 3 possible fixes right now: 1) store the count in a separate variable from the first pass, 2) keep track of the pass and only count during one of them, 3) or clear the count to 0 when starting the second pass.