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' section of my config.scm.

  (file-systems (append
                 (list (file-system
                         (device (uuid "1234-ABCD"))
                         (mount-point "/")
                         (type "btrfs")
                         (needed-for-boot? #t)
                         (dependencies mapped-devices))
                       (file-system
                         (device (file-system-label "repo"))
                         (mount-point "/home/user/repo")
                         (type "btrfs")
                         (needed-for-boot? #f)))
                 %base-file-systems))

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 absent/unplugged.

How do I overcome these issues?

Thank you!

Regards,
RG.

Reply via email to