… for others but I wrote myself a small “cp” replacement that tries to imitate the behavior of P2P clients by copying a file block-wise randomly with a small delay between each write. I use this to trigger bugs in test the media-export back-end of Rygel.
The repository is at https://github.com/phako/random-copy
Problem is that it doesn’t monitor the program you’re trying to test, and you’ll end up with a fully copied file, and an application that crashed with no ways of reproducing the problem.
Yes, but it’s not really meant to be a fully-fledged test tool, rather a torrent without a torrent. And – as I said – didn’t really know it it helps anyone but me 🙂
Hi, is this a software RAID . I mean why not use this to copy one file simultaneously from many file sources by using more CPU threads the same time. Maybe it’s faster in busy LAN networks to get files from more servers. Or on one machine it’s good to use the HD cache “wisely” with this?! Or use it the other way around to copy fast many small files via LAN by chunking all file in one file/steam and to separate them after the transfer process… but ok, that’s P2P anyway… I’m just guessing … 🙂