Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Michael Rohleder
"Raghav Gururajan" writes: > Now, the setup work and the file-system 'repo' gets auto-mounted at ~/repo. > But I am facing two issues: > > [1] ~/repo becomes 'root protected' and stays like that. > [2] Despite declaring `(needed-for-boot? #f)`, system does not boot when the > memory card is

Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Pierre Neidhardt
Raghav Gururajan writes: > Ah I see. Btw, guix does not use udisks to mount file-systems right? > > Like mounting root file-system at "/", guix just uses mount command correct? Correct. > Oh. I have to read about types of services then. As a guess, is it the > difference between service

Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Raghav Gururajan
> To clarify, you can configure udisks to mount your drives somewhere else > like your home directory. Ah I see. Btw, guix does not use udisks to mount file-systems right? Like mounting root file-system at "/", guix just uses mount command correct? > Udiskie is a user service, so I don't

Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Pierre Neidhardt
"Raghav Gururajan" writes: > Okay, no problem. I can just do git operations by 'cd'ing to /media/foo/bar, > which is mounted by udisks/udiskie. To clarify, you can configure udisks to mount your drives somewhere else like your home directory. > Now, I am would like to modify

Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Raghav Gururajan
Hi Pierre! > I think the best way to do this is to use Guix to set the right Udev > rules for Udisks: > > https://wiki.archlinux.org/index.php/Udisks I thought I could use the same concept of mounting /home or /boot or /store etc., from another disk. But all these are immediately after root

Re: Help with auto-mounting a specific file-system.

2020-04-20 Thread Raghav Gururajan
Hi Pierre! > If you are using GNOME or some high-level desktop environment, the SD > card should be automatically mounted when you insert it. > > For less sophisticated desktop environments, you can starts tools like > udisksie on login, then pendrives, SD cards and the like will be >

Help with auto-mounting a specific file-system.

2020-04-20 Thread Raghav Gururajan
Hello Guix! I wanted to make use of my memory card slot in my X200-T and decided to use it to store cloned git repos. I have placed a 32GB card, with formatted btrfs file-system, with label "repo". I wanted to auto-mount this file-system at ~/repo. So I used the following in 'file-systems'