aMule Forum
English => Feature requests => Topic started by: rlorenb on June 24, 2006, 10:47:55 AM
-
Hi,
Why not having more than 1 path for amule temp files?
-
Why should we?
-
Because if you add files to download and the disk where amule temp files is at 98% of capacity, you can move some part files to another destination/disk which you have space to store it, so you can continue download all the files you need.
-
Use symbolic links.
Read "man link" if you don't know them.
-
you mean this.....
My amule temp files is inside /mnt/downloads/temp_amule
So, if I put inside a set of simbolic links like link1, link2.... should work.
The structure
/mnt/downloads/temp_amule
1.part
2.part
link1
link2
Has amule the functionality to enter directories inside amule temp directory?
-
Like this:
~/.aMule/Temp$ ls 001* -alF
lrwxrwxrwx 1 topi users 24 2006-06-25 14:37 001.part -> /mnt/some-big-partition/amule/001.part
-rw-r--r-- 1 topi users 684 2006-06-25 14:44 001.part.met
Beware, that when the file completes, you'll have a symbolic link in the incoming directory, so DO NOT remove the .part file from "some-big-partition"!
-
GonoszTopi: you clearly won competition for most obsure solution ever presented on this forum :) To implement your solution someone must use following steps:
* Add file(s) to download queue
* Stop amule
* Move file(s) *part and *met to another partition
* Create symlinks
* Restart amule
*** Repeat each time you wanna add another file !
rlorenb: the real reason for "why" is because this would be real PITA to implement, while other solutions for the problem exists. LVM for example. Or take parted (on linux) and resize your partition.
-
lfroen: You know, I'm evil.
-
Ok thanks, but I don´t like that solution, if I have to move and the create simbolic links for each file i will become crazy....
lfroen: What´s PITA?
-
pain in the ass. Go to prion, drop your soap and you know what it means
-
Originally posted by lfroen
* Add file(s) to download queue
* Stop amule
* Move file(s) *part and *met to another partition
* Create symlinks
* Restart amule
*** Repeat each time you wanna add another file !
No, you just have to move the bigger files already downloading to the new partition, set up the sym-links and of course rename the "real" files when the are finished.