Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2020 21:06:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252031] pydf reports different values than df and di
Message-ID:  <bug-252031-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252031

            Bug ID: 252031
           Summary: pydf reports different values than df and di
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eu9gu4@gmail.com

pydf reported values are 8 times larger than those produced by df and di.

df- hT

Filesystem     Type   Size  Used  Avail Capacity  Mounted on
/dev/nda1p2    ufs     98G   14G    76G    16%    /
/dev/ada0p4    ufs    3.9G  311M   3.3G     9%    /var

di -g
Filesystem     Mount Gibis  Used  Avail %Used  fs Type
/dev/nda1p2    /      97.8  14.3   75.7   23%  ufs
/dev/ada0p4    /var    3.9   0.3    3.3   16%  ufs

pydf

Filesystem     Size  Used Avail Use%=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
           Mounted on=20=20=20=20=20=20=20=20=20=20
/dev/nda1p2    783G  114G 606G  14.6 [####..............] /
/dev/ada0p4    31G  2486M 26G   7.9  [##................] /var

Is python processing those numbers in a non-standard way?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252031-7788>