file fragmentation project

Bart Nessux bart_nessux at hotmail.com
Wed Jun 2 17:10:02 EDT 2004


Python may not be suitable for this, but I thought I'd ask the experts:

I'm doing a summer project that will attempt to measure exactly how file 
fragmentation affects disk drive and OS performance. I'd like to use 
Python for some of this. In particular,  I'd like to write a file 
fragmentor in Python that will randomly fragment x% of files on a NTFS 
filesystem into y number of fragments. For example, assuming that we 
start with a 100% defragmented drive, run the program  to randomly 
fragment 20% of the drive's files into 7 different fragments (may also 
base the number of fragments on the file's size).

Anyway, would Python be acceptable for this type of project? Speed is 
somewhat important, but not extremely.

All comments and advice are welcomed.

Bart



More information about the Python-list mailing list