efi_rm.1m (2010 09)
e
efi_rm(1M) efi_rm(1M)
(Itanium(R)-based Systems Only)
NAME
efi_rm - remove an EFI file
SYNOPSIS
efi_rm [-d devicefile] file
DESCRIPTION
efi_rm removes an EFI file.
The EFI file system is based on the FAT file system and used by the Itanium-based system BIOS to locate
an HP-UX bootloader. See efi(4).
devicefile should be the device file for the EFI volume.
If file is a directory, efi_rm prints a diagnostic message and returns without removing the directory;
use efi_rmdir(1M) to remove EFI directories. file should be relative to the root of the EFI volume
specified by devicefile, not to an HP-UX file system.
Options
efi_rm recognizes the following option:
-d devicefile devicefile is the device special file of the EFI file system from which the file is to be
removed. Without the
-d option, efi_rm uses the device file specified in the environ-
ment variable EFI_PARTITION if it is defined. The
-d option overrides the
EFI_PARTITION environment variable.
RETURN VALUE
efi_rm returns exit code 0 if the file is removed successfully. Otherwise it prints a diagnostic message
and returns nonzero.
0 Successful completion.
>0 Error condition occurred.
EXAMPLES
Remove bootfile from /hp-ux/efi/ of device file /dev/rdsk/c1t4d0s1
, which contains an EFI
file system:
efi_rm -d /dev/rdsk/c1t4d0s1 /hp-ux/efi/bootfile
Remove bootfile from /hp-ux/efi/ of persistent device file /dev/rdisk/disk7_p1
(see
intro (7)), which contains an EFI file system:
efi_rm -d /dev/rdisk/disk7_p1 /hp-ux/efi/bootfile
AUTHOR
efi_rm was developed by HP.
SEE ALSO
efi_cp(1M), efi_fsinit(1M), efi_ls(1M), efi_mkdir(1M), efi_rmdir(1M), efi(4), intro(7).
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1