8 kmkramdisk uefi shell command, Kmkramdisk uefi shell command – Kontron CP3003-V uEFI BIOS User Manual
Page 61

CP3003-SA/CP3003-V uEFI BIOS
The uEFI Shell
ID 1053-4014, Rev. 2.0
Page 55
D R A F T — F O R I N T E R N A L U S E O N L Y
6.2.8
kmkramdisk uEFI Shell Command
USAGE:
(continued)
Copy the currently running uEFI BIOS into the inactive SPI boot flash:
COMMAND / RESPONSE EXAMPLE:
Shell> kflash -c
Note: Using this function will overwrite the inactive SPI boot flash.
Failures during the process will make the inactive SPI boot flash
invalid. In such cases, it will be necessary to execute the
function again until the process completes successfully.
kmkramdisk
FUNCTION:
Create RAMdisk drives
SYNTAX:
kmkramdisk [-?] [-s
where:
-?
show help
-s
the mount point name
DESCRIPTION:
Creates a RAMdisk of variable size. Can be very useful to perform file
operations when no real filesystem is connected to the system.
Note: The RAMdisk loses its mount point name after all drives are
remapped by the map -r command. The RAMdisk will then be
enumerated as any other connected drive and gain a mount
point name like “fs0”. This is not a bug of the kmkramdisk
command but a normal function of the uEFI framework.
USAGE:
Create RAMdisk:
COMMAND / RESPONSE EXAMPLE:
rd:\> kmkramdisk -s 5 myramdisk
Device mapping table
myramdisk :BlockDevice - Alias (null)
VenMsg’(93B5F448-127A-4B29-B306-
5BE8AAC4826E)
Success - Force file system to mount
rd:\> myramdisk:
myramdisk:\> echo testfile > testfile
myramdisk:\> ls
Directory of: myramdisk:\
05/24/08 04:39a 22 testfile
1 File(s) 22 bytes
0 Dir(s)
kflash (continued)