diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-02-11 14:00:06 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-05-20 08:30:34 -0400 |
commit | 281d80d8e547fe663aaacb3226119166dd3100f9 (patch) | |
tree | b666edb5528f263fa857ef231a4824f2ec1ffe7e /doc | |
parent | 42d41d86f38958ebcff370b0e56da5c69165943c (diff) | |
download | patches-281d80d8e547fe663aaacb3226119166dd3100f9.tar patches-281d80d8e547fe663aaacb3226119166dd3100f9.tar.gz |
linux-boot: Refactor boot-system.
The --root option can now be omitted, and inferred from the root file system
declaration instead.
* gnu/build/file-systems.scm (canonicalize-device-spec): Extend to support NFS
directly, and...
* gnu/build/linux-boot.scm (boot-system): ...remove NFS special casing from
here. Remove nested definitions for root-fs-type, root-fs-flags and
root-fs-options, and bind those inside the let* instead. Make "--root" take
precedence over the device field string representation of the root file
system.
* doc/guix.texi (Initial RAM Disk): Document that "--root" can be left
unspecified.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index eef5b703fe..4e02993771 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -26534,9 +26534,10 @@ service activation programs and then spawns the GNU@tie{}Shepherd, the initialization system. @item --root=@var{root} -Mount @var{root} as the root file system. @var{root} can be a -device name like @code{/dev/sda1}, a file system label, or a file system -UUID. +Mount @var{root} as the root file system. @var{root} can be a device +name like @code{/dev/sda1}, a file system label, or a file system UUID. +When unspecified, the device name from the root file system of the +operating system declaration is used. @item --system=@var{system} Have @file{/run/booted-system} and @file{/run/current-system} point to |