[Pkg-amule-devel] Bug#579788: Bug#579788: amule: share directory on external disk isn't persistent

Werner Mahr werner at vollstreckernet.de
Sat May 1 12:10:18 UTC 2010


Am Freitag 30 April 2010 schrieb Celejar:

>  when I unplug the disk and later replug it, the directory is no
>  longer present, and I have to once again manually enter the
>  directory by navigating the file tree.

Absolute correct. When you delete a file, it's being removed from shares 
on next access, same applies for deleted dirs and unplugged USB-Discs. 
Otherwise you'll get a file not found message on every access, which 
would be worse. We could keep the entry for the dir you mount the disc 
in the list and just ignore it, which would cause the list of shares to 
grow. In this case every deleted file or dir will stay in there, and 
startup would take longer and longer because they have to be checked all 
to see if they reappeared, and most likely they would be rehashed to see 
if they are still the same file.

Just don't unplug the disc while aMule is running, and everything is 
fine.

-- 
MfG usw.

Werner Mahr
registered Linuxuser: 295882





More information about the Pkg-amule-devel mailing list