aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Multiple path for temp amule files  (Read 5183 times)

rlorenb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Multiple path for temp amule files
« on: June 24, 2006, 10:47:55 AM »

Hi,

Why not having more than 1 path for amule temp files?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Multiple path for temp amule files
« Reply #1 on: June 24, 2006, 10:52:52 AM »

Why should we?
Logged
concordia cum veritate

rlorenb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Multiple path for temp amule files
« Reply #2 on: June 24, 2006, 12:24:33 PM »

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.
Logged

Knocker

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Multiple path for temp amule files
« Reply #3 on: June 25, 2006, 11:41:48 AM »

Use symbolic links.

Read "man link" if you don't know them.
Logged

rlorenb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Multiple path for temp amule files
« Reply #4 on: June 25, 2006, 12:48:56 PM »

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?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Multiple path for temp amule files
« Reply #5 on: June 25, 2006, 04:29:23 PM »

Like this:
Code: [Select]
~/.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"!
Logged
concordia cum veritate

lfroen

  • Guest
Re: Multiple path for temp amule files
« Reply #6 on: June 25, 2006, 05:56:08 PM »

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.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Multiple path for temp amule files
« Reply #7 on: June 25, 2006, 06:00:47 PM »

lfroen: You know, I'm evil.
Logged
concordia cum veritate

rlorenb

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Multiple path for temp amule files
« Reply #8 on: June 25, 2006, 06:33:24 PM »

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?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Multiple path for temp amule files
« Reply #9 on: June 25, 2006, 06:37:43 PM »

pain in the ass. Go to prion, drop your soap and you know what it means
Logged
Homefucking is killing prostitution

Knocker

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Multiple path for temp amule files
« Reply #10 on: June 26, 2006, 12:27:23 PM »

Quote
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.
Logged