]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.uni
OvmfPkg: add 'initrd' shell command to expose Linux initrd via device path
[mirror_edk2.git] / OvmfPkg / LinuxInitrdDynamicShellCommand / LinuxInitrdDynamicShellCommand.uni
1 // /**
2 //
3 // Copyright (c) 2020, Arm, Ltd. All rights reserved.<BR>
4 // SPDX-License-Identifier: BSD-2-Clause-Patent
5 //
6 // Module Name:
7 //
8 // LinuxInitrdDynamicShellCommand.uni
9 //
10 // Abstract:
11 //
12 // String definitions for 'initrd' UEFI Shell command
13 //
14 // **/
15
16 /=#
17
18 #langdef en-US "english"
19
20 #string STR_GEN_PROBLEM #language en-US "%H%s%N: Unknown flag - '%H%s%N'\r\n"
21 #string STR_GEN_TOO_MANY #language en-US "%H%s%N: Too many arguments.\r\n"
22 #string STR_GEN_TOO_FEW #language en-US "%H%s%N: Too few arguments.\r\n"
23 #string STR_GEN_FIND_FAIL #language en-US "%H%s%N: File not found - '%H%s%N'\r\n"
24 #string STR_GEN_FILE_OPEN_FAIL #language en-US "%H%s%N: Cannot open file - '%H%s%N'\r\n"
25
26 #string STR_GET_HELP_INITRD #language en-US ""
27 ".TH initrd 0 "Registers or unregisters a file as Linux initrd."\r\n"
28 ".SH NAME\r\n"
29 "Registers or unregisters a file as Linux initrd.\r\n"
30 ".SH SYNOPSIS\r\n"
31 " \r\n"
32 "initrd <FileName>\r\n"
33 "initrd -u\r\n"
34 ".SH OPTIONS\r\n"
35 " \r\n"
36 " FileName - Specifies a file to register as initrd.\r\n"
37 " -u - Unregisters any previously registered initrd files.\r\n"
38 ".SH DESCRIPTION\r\n"
39 " \r\n"
40 "NOTES:\r\n"
41 " 1. Only a single file can be loaded as initrd at any given time. Using the\r\n"
42 " command twice with a <FileName> option will result in the first file to\r\n"
43 " be unloaded again, regardless of whether the second invocation succeeded\r\n"
44 " or not.\r\n"
45 " 2. The initrd is not unloaded when the shell exits, and will remain active\r\n"
46 " until it is unloaded again by a different invocation of the shell.\r\n"
47 " Consumers of the LoadFile2 protocol on the LINUX_EFI_INITRD_MEDIA_GUID\r\n"
48 " device path that are started via means other than the shell will be able\r\n"
49 " to locate the protocol and invoke it.\r\n"