[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37977: Mount options ignored for root file system
From: |
Guillaume Le Vaillant |
Subject: |
bug#37977: Mount options ignored for root file system |
Date: |
Sun, 17 Nov 2019 15:17:24 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Ludovic Courtès skribis:
> The root file system is mounted by ‘mount-root-file-system’ in
> linux-boot.scm, and you’re right: it happily ignores any options in the
> <file-system> object for “/”. :-)
>
> A solution would be to have ‘boot-system’ take an additional
> #:root-file-system-options parameter that it would pass down to
> ‘mount-root-file-system’, which would honor it.
>
> Would you like to give it a try?
The attached patch adds an 'options' parameter to
'mount-root-file-system' and makes 'boot-system' use it with the
content of the 'options' field of the <file-system> object for "/".
It's not exactly the solution you described (adding a keyword argument
to 'boot-system'), but I think it should work. What do you think?
I tried it with my btrfs root file system, and it is correctly mounted
with the options declared in my '/etc/config.scm' file.
0001-linux-boot-Don-t-ignore-options-when-mounting-root-f.patch
Description: Text Data