47 | | * '''Data/home_linked''' : All the data that should be linked on the home of the user, like: Videos, Images, Music, .mozilla*, .VirtualBox, .local, etc... |
| 47 | * '''Data/home_linked''' : All the data that should be linked on the home of the user, like: Videos, Images, Music, .mozilla*, .Virtualbox, .local, etc... |
| 50 | |
| 51 | == How it Works == |
| 52 | So our ''personal'' partition for all our data contains basically a directory called ''thana'' (our user), and a script, when we mount this disk by a first time on our Elive system, we can simply directly run this script which creates our special ''thana'' user if not exists yet, it set this user with a very specific UID (for example 1783) where the idea is to have a unique UID for our user in any computer where will use our disk, without conflict with an existing UID. This script also does a lot of other setups like check if we have a ''sudo'' configuration for this user with full privileges and without ask for the password (we want to remove entirely the usage of the root user), and finally also adds a init script on this computer for ''mount'' our home partition to the system if we have this parameter on our grub configuration, there's the encryption password that is loaded on the boot of the system, etc... |
| 53 | |
| 54 | When we boot our computer in mode to use our special home partition, the configurations of Git/git/etc_root are linked to their respective /etc locations, and the original configurations are moved to a backup file, which is restored when you shutdown the computer, the idea is to have the system ''perfectly clean of all our activity'' when we have finished our work, this is nice if you are using a friend's computer |
| 55 | |
| 56 | We have a set of configurations (bash variables) which controls dinamically our scripts and ''home work mode'', we have also a set of cronjobs that controls that everything is working fine, automatically (like commits to our history/branches features), and will tell us if anything goes wrong on the automations. |
| 57 | |
| 58 | |
| 59 | '''NOTE: This howto/page is not finished''' |