Thom,
Thanks for your reply as always.
Actually I have two systems, one is just Kubuntu810, the other with LMCE810 and build env in chroot.
What I am doing is to reproduce how the LMCE works by porting DCERouter to the first system.
Maybe a small system is easy to study how the things are going, right?
I found at the build time, there is one script named import-databases.sh, it downloads several databases, in which there is one named main_sqlcvs.sql, as my understanding is the base one.
After the build is done. I use the build result to setup one LMCE810. In the installation script, there are also many databases changed statements in script mce-install.sh.
When LMCE boots up, I read the logs and find there is one log named device.2009-****, in which it says if Device table exists, drop it and recreate one. So the Device table is recreated based on which table? also depends on the current loaded plugin and device?
In the above 3 steps(build, install, and running time), I am a little lost track how the db import and changed.
Could you help to make it clear? Thanks in advance.
Will