LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   What is the recommanded architecture for multi-distribution system ? (https://www.linuxquestions.org/questions/linux-distributions-5/what-is-the-recommanded-architecture-for-multi-distribution-system-533555/)

lalebarde 03-01-2007 05:44 AM

What is the recommanded architecture for multi-distribution system ?
 
Hello everybody,

I plan to migrate from one distribution to another, but still keeping the last one at least for the transition and test time. I want also to be able to test other distribution as wanted.

But I don't want to have redondancy in my files. I read once that it is recommanded to have one /home per distribution, but without justification. I assume it is due to .xxxxx files in the home directory. But most of these files look specific to applications, and I assume they are undependant from the distribution. I assume also there are .xxxx files specific to the distribution.

Then, I wonder if the following solution could work - that means, beeing able to work once with one distro, and the other day with the other, with the same "home".

I imagine creating a /HOME, that would contain everything that is not distribution dependant. For example, for user Laurent :
/HOME/laurent/.thunderbird
/HOME/laurent/.firefox
/HOME/laurent/.konqueror
/HOME/laurent/.wesnorth
/HOME/laurent/Documents
/HOME/laurent/Desktop
/HOME/laurent/Pictures
etc
and in /home, there would be only distribution dependant files and links :
/home/laurent/.xxxx
/home/laurent/.thunderbird -> /HOME/laurent/.thunderbird
/home/laurent/Documents -> /HOME/laurent/Documents

A shutdown task would compare /home/<users> and /HOME/<users>, not entering subdirctories, to detect new files in home, and ask if it shall put them in HOME and build a link in home.

OK, all that to put the problem on the table and to raise the questions. If some one has done something smart, he is welcome to present it. By the way, is there really a problem in having the same home for every distribution ?

Besides, I assume /tmp, /proc, /usr/src, /swap can be common. Please, I need confirmation. Do you see other candidates ?

Waiting towards hearing from your expertise,

Best regards,


Laurent.

XavierP 03-01-2007 05:48 AM

Your /home and /swap partitions can happily be shared between distros. Other partitions may be more problematical depending on how they set up the files.

lalebarde 03-01-2007 06:28 AM

Thank you very much XavierP.


All times are GMT -5. The time now is 01:36 AM.