On Wednesday 16 February 2005 09:55 pm, Jim Westfall wrote: > These are the current calculations for getting totalspace and usedspace, > which get reported to the frontend. > > totalspace = (statbuf.f_blocks - (statbuf.f_bfree - statbuf.f_bavail)) / > (1024*1024/statbuf.f_bsize); > usedspace = (statbuf.f_blocks - statbuf.f_bavail) / > (1024*1024/statbuf.f_bsize); > > totalspace is adjusted to show total space for a non-root user, but > usedspace isnt. You can end up with the issue I have been seeing, which > is usedspace > totalspace when I really have 50G free.
Applied, thanks. Isaac _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
