[Baypiggies] Number of inodes on a volume?
glen at glenjarvis.com
Wed Feb 3 02:28:35 CET 2010
Thanks Asher and Aaron...
On 2/2/10, Asher Langton <langton2 at llnl.gov> wrote:
> On Feb 2, 2010, at 5:13 PM, Glen Jarvis wrote:
> > I have a quick question to this brilliant group :)
> > How do I, using pure python, get the number of inodes free on a volume
> > for a particular mount?
> > Basically, is there an equivalent to df -i in Python? Is this
> > somewhere in stat and I can't find it?
> Take a look at os.statvfs().
More information about the Baypiggies