Good evening,

I'm trying to improve my Guix knowledge a bit more, again. 

But this is messing my head. If /run/current-system/ is supposed to hold the 
current state of my system, why the directories and files found at / does not 
refer (symlink) to /run/current-system/ files.


For example /etc/profile and /run/current-system/profile have the same contents 
(diff). Yet /etc/profile is a file but /run/current-system/profile is a symlink 
to a store profile.


This messes me up because for example in the case of bash, it should run 
"/etc/profile" when starting a login shell (interactive or not), but then the 
environment definition is not protected by the guix transactional system 
because it's not referring to "/run/current-system/profile".

What I'm missing here? When I do guix system reconfigure the new system tree 
defined in /run/ gets linked into the / tree with hardlinks?


Thank you in advance.

Marius.

Reply via email to