GNU bug report logs -
#40998
Guix System's initrd doesn't honor rootflags
Previous Next
Reported by: maxim.cournoyer <at> gmail.com
Date: Fri, 1 May 2020 13:54:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
> * gnu/build/linux-boot.scm (boot-system): Honor rootfstype and rootflags
> arguments. Update doc. Error out in case there is insufficient information
> with regard to the root file system.
> Restore the behavior of inferring the root device from the root file system
> from the operating system in case the root argument is not provided.
> * doc/guix.texi (Initial RAM Disk): Document the new command-line parameters.
Very nice!
[...]
> - (if root-device
> - (mount-root-file-system (canonicalize-device-spec root-device)
> - (file-system-type root-fs)
> - #:volatile-root? volatile-root?
> - #:flags (mount-flags->bit-mask
> - (file-system-flags root-fs))
> - #:options (file-system-options root-fs)
> - #:check? (check? root-fs)
> - #:skip-check-if-clean?
> - (skip-check-if-clean? root-fs)
> - #:repair (repair root-fs))
> - (mount "none" "/root" "tmpfs"))
> + ;; Mount the root file system.
> + (mount-root-file-system (canonicalize-device-spec
I think the ‘if’ had (has?) a justification but I’m not sure what that
was. It’s likely nobody will notice if we remove it anyway. :-)
Ludo’.
This bug report was last modified 3 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.