Bug 150349 - unable to work on vfat or fat32 filesystems because fails to create symlinks
Summary: unable to work on vfat or fat32 filesystems because fails to create symlinks
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-30 14:10 UTC by Pierre Pardot
Modified: 2007-11-25 11:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Pardot 2007-09-30 14:10:55 UTC
Version:           2.2.1 (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages
OS:                Linux

says Cannot symlink /media/downloads/tor0/cache/disk2.pat
Operation not allowed.
Comment 1 Joris Guisson 2007-09-30 18:35:17 UTC
This is planned for the KDE4 version.

Btw, it's not really necessary to put the temp dir on the same partition as the data is stored.
Comment 2 Pierre Pardot 2007-09-30 19:12:12 UTC
Thank you.

>>Btw, it's not really necessary to put the temp dir on the same partition as the data is stored. 

Well, that was done to save disk throughput. Some download managers use to create files in temp dirs and then move to destination. Just create the destination file in dest dir but renamed like utorrent does, .ut! or something like that.
Comment 3 Joris Guisson 2007-10-01 08:20:38 UTC
The actual data is stored on the final location immediatly, the temp dir only holds the data of incompletely downloaded chunks.
Comment 4 Joris Guisson 2007-11-25 11:05:49 UTC
SVN commit 741269 by guisson:

Changes:
- Added moving of torrent data files
- Stop using symlinks in torX directory and switch to file_map (temp files can now be put on fat filesystems)

BUG: 150349


 M  +1 -0      ChangeLog  
 M  +13 -3     ktorrent/core.cpp  
 M  +3 -0      ktorrent/fileselectdlg.cpp  
 M  +40 -34    ktorrent/importdialog.cpp  
 M  +3 -2      ktorrent/importdialog.h  
 M  +18 -0     ktorrent/view.cpp  
 M  +1 -0      ktorrent/view.h  
 M  +2 -0      ktorrent/viewmenu.cpp  
 M  +1 -0      ktorrent/viewmenu.h  
 M  +15 -0     ktorrent/viewmodel.cpp  
 M  +2 -0      ktorrent/viewmodel.h  
 M  +11 -0     libbtcore/diskio/cache.h  
 M  +2 -0      libbtcore/diskio/chunkmanager.cpp  
 M  +102 -113  libbtcore/diskio/multifilecache.cpp  
 M  +3 -1      libbtcore/diskio/multifilecache.h  
 M  +40 -37    libbtcore/diskio/singlefilecache.cpp  
 M  +2 -0      libbtcore/diskio/singlefilecache.h  
 M  +11 -0     libbtcore/interfaces/torrentfileinterface.h  
 M  +4 -2      libbtcore/interfaces/torrentinterface.h  
 M  +52 -49    libbtcore/torrent/torrentcontrol.cpp  
 M  +6 -4      libbtcore/torrent/torrentcontrol.h  
 M  +1 -0      libbtcore/torrent/torrentfile.cpp  
 M  +3 -1      libbtcore/util/log.cpp  
 M  +4 -4      plugins/infowidget/fileview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=741269