[Nepomuk] Issues with non persistent filesystems/mounts and Nepomuk
Sebastian Trüg
trueg at kde.org
Tue Jun 15 16:41:09 CEST 2010
On 06/15/2010 04:19 PM, Daniel Winter wrote:
> 2010/6/15 Sebastian Trüg <trueg at kde.org>:
>> nepomuk:/ URIs never change. That is the whole idea.
>
> Ok, know I got it.
>
> On unmount it transforms the url in nie:url from an absoulte file:
> url to a relative filex: url and add a reference to a filesystem
> resource.
exactly.
> What happens on remount? Will it again transform filex: to file: ?
>
> I believe it doesn't, right?
correct.
> So when Solid starts to support other mounts it should start to work
> in Nepomuk. If Solid gives stable udi for a given nfs mount it
> should even work when the mount point changes.
yes.
> The only problem may be performance. If Nepomuk could somehow know
> that a FS will always have the same mount point it could omit the
> file->filex transformation. (But how would it know, that the file is
> currently not avaible and where it could find it (to inform the user
> to mount xyz) ?
exactly that is the problem.
> Anyway, as long as solid doesn't support it, there is nothing Nepomuk
> could oder should do, I think.
Well, I am not sure, we could add some hack which avoids re-indexing
files on net mounts all the time. Would it be enough to exclude mounts
that are in fstab?
Cheers,
Sebastian
More information about the Nepomuk
mailing list