Package: quotatool
Version: 1.4.11-1
Severity: normal

A given user has block usage of 1296 Mbyte and a quota of 5000Mbyte.

# quota -F xfs -vs -l -u fred
Disk quotas for user fred (uid 123456): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sdb1   1296M   5000M   5120M            4801    100k    101k 

# du -sk /mnt/sdb1/coh033
1327072 /mnt/sdb1/coh033

But quotatool -d reports this:
quotatool -u fred -d /mnt/sdb1 -v
quotatool: Option 'd' => just dumping quota-info for user
quotatool: using filesystem /mnt/sdb1
quotatool: user 'fred' has uid 123456
quotatool: filesystem /mnt/sdb1 has device node /dev/sdb1
quotatool: 
quotatool: uid Filesystem blocks quota limit grace files quota limit grace
        123456  /mnt/sdb1 1296 5120000 5242880 0 4801 100000 101000 0

The blocks in use are being reported as Mbyte while the quota limits are
being reported in 'blocks' ie kilobytes. Is this the intended behaviour?

This is present in 1.4.10-1 as well.

Kind regards

-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages quotatool depends on:
ii  libc6                       2.7-18lenny7 GNU C Library: Shared libraries

Versions of packages quotatool recommends:
ii  quota                         3.16-7     implementation of the disk quota s

quotatool suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to