[Digikam-users] Difference between collection types

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Jun 7 14:01:27 BST 2009


> Hi all,
>
> I have a somewhat complicated Album Collection setup that I am trying to
> figure out. I'm wondering what are the differences between Local, Removable
> Media and Network Share collections. It is my understanding that any
> collection not residing on the local drive must be mounted before using it,
> so I don't see what the distinction is. Thanks for any advice!

For removable devices we have a good API (Solid) which works (under Linux, not 
or partially implemented under Windows) and helps us to know if a given device 
is connected or not.
For network collections, be it Samba, NFS or whatever, we have no such API at 
all, we dont know if a given mount path is empty because it's empty or because 
the collection is not mounted. Therefore, for network collections, the 
algorithm is to check if a directory is empty, then it is not mounted.

Marcel


>
> Paul





More information about the Digikam-users mailing list