Bug 181727 - digitaglinktree does not work if albumdir is not on root-partition
Summary: digitaglinktree does not work if albumdir is not on root-partition
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Database (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 09:50 UTC by Ian Hubbertz
Modified: 2017-08-12 13:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.