[BitTorrent] Bittorrent and filesystem API / integration

Jesus Cea jcea at argo.es
Wed Jan 12 16:28:33 EST 2005


Nick Johnson wrote:
> For example, you could, when allocating files, create a temporary 
> (hidden) file in the same directory that contains the bitmap for the 
> torrent. Before starting, check the mtime on the bitmap file is at least 
> as recent as the most recent of the torrent files, and if so, use it 
> instead of hashing the whole thing manually.

All these schemas fails if you have a power surge and the OS "write" 
operation is asyncronous, like any modern Operating System.

-- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
                                       _/_/    _/_/          _/_/_/_/_/
PGP Key Available at KeyServ   _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/BitTorrent/

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the BitTorrent mailing list