Bug 181727

Summary: digitaglinktree does not work if albumdir is not on root-partition
Product: [Applications] digikam Reporter: Ian Hubbertz <kde_bugs>
Component: Maintenance-DatabaseAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles, krienke
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In: 4.0.0
Sentry Crash Report:

Description Ian Hubbertz 2009-01-24 09:50:24 UTC
Version:           0.10.0-rc1 (using KDE 4.1.96)
Installed from:    Gentoo Packages

digitaglinktree does not create the links, if the AlbumRoot is not on the root-partition, because it uses only the Path from the database, but not the device-id.

I have only one album configured and it is a "local collection" on /home/Fotos.
/home is an own partition.
------------------------------------------
sqlite> select * from AlbumRoots;
2|Ians Fotos|0|1|volumeid:?uuid=7a4daa27-ff31-4f04-b331-786d6d3b2dd3|/Fotos
------------------------------------------


Workaround: ln -s /home/Fotos /
Comment 1 krienke 2009-02-03 13:41:10 UTC
I just tried to reproduce you effect, but for me it seems to work. I created digikam folders on two different physical partitions mounted under two different mount points and created a link tree on a third one. I called digitaglinktree like this:

digitaglinktree -d /home/photos/digikam4.db -l /tmp/linktree

/home and how exactly did you start digitaglinktree and what version do you have (digitaglinktree -v)? Are there any messages issued by digitaglinktree? How is your filesystem structure (ouput of mount command)?

Perhaps your problem was that you tried to use hard links. There is a restriction in unix on hardlinks that source and destination of a hardlink must be on the same filesystem. Did you use option -H with digitaglinktree?

Rainer
Comment 2 caulier.gilles 2011-12-12 20:43:54 UTC
This entry still valid ?

Gilles Caulier
Comment 3 caulier.gilles 2013-11-25 14:23:22 UTC
Rainer,

Any progress here ?

Gilles Caulier
Comment 4 krienke 2013-11-26 07:26:19 UTC
Didn't hear any feedback about this. So from my point of view its working as expected.