disksuage question, stat.py

Kilian Looser klooser at ip-tech.ch
Mon Feb 3 04:45:30 EST 2003


hi,

i'd like to write my own "du" programm in python for a faster and simpler 
handling of my requirements. stat.py is available and works fine. But i can 
not ask for amount of blocks used by a file or the blocksize use by this 
file.

i know that ST_BLOCK and ST_BLKSIZE are not available on all operating 
systems. But it is on Linux Redhat. So my question is, do i have do run 
configure with any special options to enable this or is it just not 
implemented?

Thanks
Kilian

-- 
********************************************
ip tech ag
kilian looser
email  klooser at ip-tech.ch
phone  ++41/71/ 929 90 70
fax    ++41/71/ 929 90 71
mobile ++41/79/ 458 31 79
web    http://www.ip-tech.ch
********************************************

how to work better:
1. do one thing at a time
2. know the problem
3. learn to listen
4. learn to ask questions
5. distinguish sense from nonsense
6. accept change as inevitable
7. say it short and simple
8. admit mistakes
9. be calm
10. smile





More information about the Python-list mailing list