Re: Bittorrent and filesystem API / integration

Jesus Cea <[email protected]>
Newsgroups gmane.network.bit-torrent.general
Organization Argo Redes y Servicios Telematicos, S.A.
Message-ID <[email protected]>
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                         _/_/      _/_/_/        _/_/_/
[email protected] 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:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.