[Bug 1090053] Re: e4defrag -c /mountpoint does not provide expected output
Theodore Ts'o
tytso at mit.edu
Thu Jun 9 04:46:55 UTC 2016
There wasn't actually an *error*. E4defrag doesn't need root prives to
find and print statistics. It doesn't deliberately because the people
who wrote the program decided this was the right thing to do. So it's
not actually hiding the error, it's just doing something weird/stupid.
Which you could argue is a bug, but if so, it's more of a design issue.
(It's not like it's secret; and you get the same information using
filefrag.)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1090053
Title:
e4defrag -c /mountpoint does not provide expected output
Status in e2fsprogs package in Ubuntu:
Invalid
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1090053/+subscriptions
More information about the foundations-bugs
mailing list