Re: statvfs clearance

2009-04-05 Thread Cameron Simpson
On 04Apr2009 03:56, Sreejith K wrote: | Python's statvfs module contains the following indexes to use with | os.statvfs() that contains the specified information | statvfs.F_BSIZE | Preferred file system block size. [...] | Can anyone tell me (or give me some links to know) what are these | va

Re: statvfs clearance

2009-04-05 Thread Scott David Daniels
Dave Angel wrote: The term we used to use for these is "magic numbers." Using magic-numbers directly in your code is a good way to ensure future time debugging. And perhaps, in these job-scarce days, future employment. I am reminded of a saying we had in the OS group at TymShare: "A wizard i

Re: statvfs clearance

2009-04-04 Thread Dave Angel
Hrvoje Niksic wrote: Sreejith K writes: Python's statvfs module contains the following indexes to use with os.statvfs() that contains the specified information statvfs.F_BSIZE Preferred file system block size. [...] statvfs.F_NAMEMAX Maximum file name length. Can anyon

Re: statvfs clearance

2009-04-04 Thread Albert Hopkins
On Sat, 2009-04-04 at 15:48 +0200, Hrvoje Niksic wrote: > Sreejith K writes: > > > Python's statvfs module contains the following indexes to use with > > os.statvfs() that contains the specified information > > > > statvfs.F_BSIZE > > Preferred file system block size. > [...] > > statvfs.F_NA

Re: statvfs clearance

2009-04-04 Thread Hrvoje Niksic
Sreejith K writes: > Python's statvfs module contains the following indexes to use with > os.statvfs() that contains the specified information > > statvfs.F_BSIZE > Preferred file system block size. [...] > statvfs.F_NAMEMAX > Maximum file name length. > > Can anyone tell me (or give me s

Re: statvfs clearance

2009-04-04 Thread Albert Hopkins
On Sat, 2009-04-04 at 03:56 -0700, Sreejith K wrote: > Python's statvfs module contains the following indexes to use with > os.statvfs() that contains the specified information > > statvfs.F_BSIZE > Preferred file system block size. > > statvfs.F_FRSIZE > Fundamental file system block siz

Re: statvfs

2007-10-30 Thread Korthrun
At 2007-10-29, [EMAIL PROTECTED] expressed thier undying love for me by saying: > On Mon, 29 Oct 2007 16:52:12 -0500, Korthrun wrote: > >> I'm writing some scripts to populate RRD's, mainly for practicing python. >> >> As such I've decided to play with statvfs in order to build disk >> graphs. Her

Re: statvfs

2007-10-29 Thread Marc 'BlackJack' Rintsch
On Mon, 29 Oct 2007 16:52:12 -0500, Korthrun wrote: > I'm writing some scripts to populate RRD's, mainly for practicing python. > > As such I've decided to play with statvfs in order to build disk > graphs. Here is what I have and what I get. What I'm curious about > here is the meaning of the "L