[Digikam-devel] [Bug 109820] Offer: Utility script to export tag information of images into the filesystem

krienke at uni-koblenz.de krienke at uni-koblenz.de
Thu Aug 3 07:04:50 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=109820         




------- Additional Comments From krienke uni-koblenz de  2006-08-03 08:04 -------
Am Mittwoch, 2. August 2006 21:16 schrieb Mats Ahlgren:

> Yes, exactly. Just to be sure we're on the same page:
> {linktree} <--[symbolic links]--> {photo directory} <--[hard links]-->
> {digiKam collection}


No, not exactly:-) I want to implement this:
{linktree} <--[hard links]--> {photo directory} <--[hard links]-->{digiKam collection}

Without hard links in the "export"-directory linking from "export/linktree" to "export/photo directory" 
you cannot move the  linktree  to somewhere else because this would  break (relativ) soft  links. 
However this was "Problem 2" you described in your Mail from 2006-07-28 (Comment #15). 
Absolute soft links are no good because of  "Problem 1".

>
> This scheme (called an indirection layer) will solve the problem.
>
> > However one limitation to this solution is that hard links are bound to
> > filesystems, so the archive directory has to be on the same filesystem as
> > the original photos because hardlins can only be created in one
> > filesystem and not across filesystem boundaries.
>
> Not exactly; it still works beautifully (I have tested it infact). Here's a proof of concept:
> >> Step 1) Create a fake DigiKam photos directory.


It cannot work if  the directory for "digikam collection" (A) and the directory for "photo directory" (B) 
are on different filesystems simply because hard linking files from (A) to (B) is technically 
impossible in this case. In your examples for the proof of concept they were on the very same 
filesystem,  both in  your HOME directory. This of course works.

I hope to have a prototype soon, then we can test things and see if it works as expected.

Rainer



More information about the Digikam-devel mailing list