Public bug reported:

According to the man page this is the expected output below.

OPTIONS
       -c     Get  a  current  fragmentation  count and an ideal fragmentation
              count, and calculate fragmentation score based on them. By  see‐
              ing  this  score,  we  can  determine  whether we should execute
              e4defrag to target.  When used with -v option, the current frag‐
              mentation  count  and  the ideal fragmentation count are printed
              for each file.

              Also this option outputs the average data size in one extent. If
              you  see it, you'll find the file has ideal extents or not. Note
              that the maximum extent size is 131072KB in ext4 filesystem  (if
              block size is 4KB).

              If this option is specified, target is never defragmented.

I am attaching a screenshot of my output which is not what I expected.
This may not be a bug but it is not very informational.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: e2fsprogs 1.42.5-1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Thu Dec 13 12:09:04 2012
InstallationDate: Installed on 2012-12-12 (1 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: e2fsprogs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: e2fsprogs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 quantal running-unity

** Attachment added: "Screenshot of e4defrag output using -c option"
   
https://bugs.launchpad.net/bugs/1090053/+attachment/3459266/+files/Screenshot%20from%202012-12-13%2012%3A10%3A12.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1090053

Title:
  e4defrag -c /mountpoint does not provide expected output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1090053/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to