Hello all,

I was just wondering if there is a (simple) way to to determine the physical order of 
the files on the CD?  I'm looking for a cross-platform C/C++ function.  

Does an unsorted dir/ls list do this?  Is that going to be reliable on multiple 
platforms?  (I'm primarily interested in Mac, PC, Linux/other Unices...)

I'm writing an app that reads many files on a particular CD containing over 600MB.  
But, the order I read them doesn't really matter.  So, to speed up the app, I want to 
read the files in their physical order on the CD to minimize the total seek time.

One other question...  Is there such thing as "fragmentation" on CDs?  If so, is there 
a file allocation table (or its equivalent) on the CD where I can determine block 
order?

Any help would be appreciated.

Thx,
Brian


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to