[Reportbug-maint] Bug#433462: Suggestions to fix #433462 (add free space info to reportbug)

Sandro Tosi morph at debian.org
Mon Mar 15 23:12:22 UTC 2010

Hi all,
in bug #433462 there is a request to add free space information in
reportbug standard info appended to bug report.

It's a valid request, that I want to fulfill, but there are some
aspects I'd like to discuss.

First of all, with your package maintainers hat on, what kind of
information you'd like? only the value of free MB in the disk? total
size, free size? also percentage? I think that from a bug report
point-of-view, only the free megabytes value would do.

That said, what to report? Simply taking the output of "df -h" and
attaching to reportbug template it's not what I like: there could be
more partitions/disks not interesting for the report/system in that
output, and I don't want to include them.

So I thought: "Easy, just take the information for / and add them".
Well, not really. There are situation where /usr, /var, /etc and/or
many more directories are in separate partitions, and it might be
interesting to include those information too (if not with /). But, how
further should I go? Just take / and /usr, /var, /etc if-not-in-/ and
add them? what if /var has subdirs like /var/log /var/tmp /var/lib
splitted in different partition? what if /usr has /usr/bin and
/usr/share on a NFS filer?

So, just to recap:

- what free space information you'd like? (I'd propose only the count
of free MB)
- what directory to show in the report? (I'd propose /, /var, /usr,
/etc if the latter 3 not in / but not going recursively under them)

Thanks for your attention,

PS: please keep the bug in CC, so that there will he history of the
discussion there too.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Reportbug-maint mailing list