17 janvier 2017 08:30 "Matthias Lindner" <two4god@xxxxxxxxx> a écrit:
Hi,
regarding index_server i have some questions
since introducing the packagemanagement some things need to be rewritten
to make it work properly (e.g. using find_directory). So i have some
questions there.
Clemens Zeidler implemented it, that way that at every writable volumen there
was a
./IndexServer folder created at the root wich contained all Informations for
the index_server.
Since it dont follow the BeOS way, from my oppinion, and since
packagemangement the folder
structure are mor regulated (wich i learned to like -> thanks Ingo :-D) I
decided to write all data
from the index_server into
/boot/home/config/settings/index_server of the boot volumen.
For every Volume i create a subfolder, named after this volumen and store all
indexed data in
there.
Thats what i implemented at the moment (any pro or cons are welcome)
But this is not fully optimale since it could happen that you mount two
different volumes with the
same name (maybe a usb device)
Talking about the settings file - is there any "settingsfile-engine" like the
api for the driver
settings around so that we can have "common" settings format ?
Two other questions came to my mind:
1. How do i identify Volumes only "created" by the packagemangement? I now
have the index_server
creating a "system" volumen folder e.g. and scanning a lot of "empty" refs
(Clemens already checked
Capacity for 0 to avid / and /dev volumes)
2. What folders should be disabled by default?