[Digikam-devel] [Bug 312054] cannot add a collection on the network in linux mint (gnome-based environment)
marcel.wiesweg at gmx.de
Mon Dec 31 12:53:35 GMT 2012
--- Comment #11 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
> So, if I mount my collection natively, why would I need a separate option to
> select a network share. Does digikam behave any different from a local
> collection (e.g. detection if this collection is offline, tolerant towards
> different paths to the same collection for different users)?
On Linux, the network mount is just a path somewhere. We must not check the
associated hardware. We currently dont have code which detects that a given
directory is a mount point, for Linux, nor for any other platform. That's why
there's the different way to add a network share. Detection for offline/online
is simply done by checking if the path is empty or not.
> Would it be so bothersome to support virtual filesystems? A component named
> "kioslave" already exists - at least within this bug tracker. This suggests
> that there might already exist some relevant code. Or am I mistaken?
The virtual filesystems of the desktop environments are high-level. For any
low-level access: reading metadata, producing a thumbnail, showing or editing
the picture, the file would need to be downloaded and placed in a temporary
destination, not because digikam cannot handle all this, but because the
underlying libraries need native file pointers.
There are projects like kiofuse which could help in this process, but for cases
where the kernel supports native mounting, without the redirection fuse -> kio,
I would recommend to take this way, it is certainly faster.
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel