xbenjii / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
0 stars 0 forks source link

Use soft/hard linking to continue seed your torrent #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Linux filesystem is fantastic, we could do some thing that windows are not able 
to do. 

Suppose that you want to use torrentexpander on a torrent. By default it made a 
copy of your data in other directory. Then you use double space of HD. If you 
use destructive_mode it will cancel original data, but the torrent client will 
be annoying. Worst thing is about ratio problem because 'no file' --> 'data not 
found' --> 'no ratio'.

Best solution at all?
We could use soft/hard link to have the same file in two different folder at 
the same time. 

Soft or Hard link?
Have both option is better. I'm not sure that transmission like soft link, but 
it would be better because 'delete link' -> 'file remain'. With a hard link we 
must do 'delete link' == 'delete file'.

Original issue reported on code.google.com by login...@gmail.com on 4 Dec 2011 at 11:58

GoogleCodeExporter commented 8 years ago
This is a feature I won't implement
I was uncomfortable implementing destructive_mode but I implemented it because 
it was asked by users.
Using soft links can fail if :
- torrent is made up of rar/zip archives
- you use permission settings
- you link torrentexpander to a third party app like flexget
- you reset timestamp
- other cases I can't think about

This is a nice idea, but the probability for it to work is too low, and 
whatever checks I do to enable or disable destructive_mode based on the nature 
of the torrent may fuck up in so many ways

Original comment by addicted...@gmail.com on 5 Dec 2011 at 5:43