[mythtv-users] Myth reports incorrect disk space usage?
Henk Poley
hpoley at dds.nl
Thu Jul 15 15:28:19 EDT 2004
Op donderdag 15 juli 2004 21:00, schreef Jason Keirstead:
> On July 15, 2004 03:41 pm, Tim Tait wrote:
> > Wow, I didn't expect this question to draw much attention! The drive is
> > large, so maybe the reserved root space is the reason.
> >
> > The df used result equates to about 6,480 MB.
> >
> > From Mythweb status page:
> > Total Space: 167,428 MB
> > Space Used: 15,440 MB
> > Space Free: 151,988 MB
>
> It is not the reserved root.
>
> The reserved root space only affects the amount free on the drive. It does
> not affect the amount used by files in any way.
If you want to check see programs/mythbackend/mainserver.cpp for the methode
MainServer::getFreeSpace. It uses statfs, see 'man statfs' for that.
You could also check the mythtv mailinglist archives, as someone else said,
this has been beaten to death before ;-)
Henk Poley <><
PS: This is not meant as a rude comment. I just (30 minutes) ago unpacked the
mythtv source to dive into it. Go figure.
More information about the mythtv-users
mailing list