> On Sun, Apr 26, 2009 at 12:10:35PM -0400, Matthew Miller scripsit:
> > On Thu, Apr 23, 2009 at 09:12:25PM +0100, Bob W wrote:
> > > I should think the difference is fairly minimal. To 
> delete all, the system
> > > probably just sets a 'deleted' status for each file entry 
> in the FAT,
> > > whereas to format the card I expect it simply writes a 
> new FAT. In either
> > > case I'd be surprised if there was any great difference 
> in the number of
> > > I/Os.
> > 
> > On my K10D, it's significantly slower to delete-all.
> 
> Delete all = couple hundred to a couple thousand operations 
> on the FAT,
> depending on the number of files on the card.  Especially in 
> the camera,
> it's probably a case of "open FAT, delete file #1, write FAT back out,
> close FAT, open FAT, delete file #2, ....".
> 

it's highly unlikely to commit the FAT to disk after every delete. It would
be spectacularly inefficient and pointless.


Bob


--
PDML Pentax-Discuss Mail List
PDML@pdml.net
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to