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
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
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
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
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
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
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
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