mirror of
https://github.com/systemd/systemd
synced 2024-07-24 03:36:24 +00:00
NEWS/--help: correct/be clearer on bootclt -R vs. -RR
The NEWS file was simply wrong. Let's also improve the --help text on this. Fixes: #28221
This commit is contained in:
parent
0b20c56ee1
commit
d5163f9c87
8
NEWS
8
NEWS
|
@ -221,9 +221,11 @@ CHANGES WITH 254 in spe:
|
|||
systemd-boot, systemd-stub, ukify, bootctl, kernel-install:
|
||||
|
||||
* bootctl gained a new switch --print-root-device/-R that prints the
|
||||
main block device the root file system is backed by. It's useful for
|
||||
invocations such as "cfdisk $(bootctl -R)" to quickly show the
|
||||
partition table of the running OS.
|
||||
block device the root file system is backed by. If specified twice,
|
||||
it returns the whole disk block device (as opposed to partition block
|
||||
device) the root file system is on. It's useful for invocations such
|
||||
as "cfdisk $(bootctl -RR)" to quickly show the partition table of the
|
||||
running OS.
|
||||
|
||||
* systemd-stub will now look for the SMBIOS Type 1 field
|
||||
"io.systemd.stub.kernel-cmdline-extra" and append its value to the
|
||||
|
|
|
@ -178,7 +178,10 @@ static int help(int argc, char *argv[], void *userdata) {
|
|||
" -p --print-esp-path Print path to the EFI System Partition mount point\n"
|
||||
" -x --print-boot-path Print path to the $BOOT partition mount point\n"
|
||||
" -R --print-root-device\n"
|
||||
" Print path to the root device node\n"
|
||||
" Print path to the block device node backing the\n"
|
||||
" root file system (returns e.g. /dev/nvme0n1p5)\n"
|
||||
" -RR Print path to the whole disk block device node\n"
|
||||
" backing the root FS (returns e.g. /dev/nvme0n1)\n"
|
||||
" --no-variables Don't touch EFI variables\n"
|
||||
" --no-pager Do not pipe output into a pager\n"
|
||||
" --graceful Don't fail when the ESP cannot be found or EFI\n"
|
||||
|
|
Loading…
Reference in a new issue