HPlogo HP-UX Reference > E

efi_rmdir(1M)

Itanium(R)-Based Processor Family Only
HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

efi_rmdir — remove an EFI directory

SYNOPSIS

efi_rmdir [-d devicefile] directory

DESCRIPTION

efi_rmdir removes an EFI directory

The EFI file system is based on the FAT file system and used by the Itanium(R)-based system BIOS to locate an HP-UX bootloader. See efi(4).

devicefile should be the device file for the EFI volume.

If directory is not a directory or the directory is not empty, efi_rmdir prints a diagnostic message and returns without removing the file; use efi_rm(1M) to remove EFI files. directory should be relative to root of the EFI volume specified by devicefile, not to an HP-UX file system.

Options

efi_rmdir recognizes the following option:

-d devicefile

devicefile is the device special file of the EFI file system from which the directory is to be removed. Without the -d option, efi_rmdir uses the device file specified in the environment variable EFI_PARTITION if it is defined. The -d option overrides the EFI_PARTITION environment variable.

RETURN VALUE

efi_rmdir returns exit code 0 if the directory is removed successfully. Otherwise it prints a diagnostic message and returns nonzero.

0

Successful completion.

>0

Error condition occurred.

EXAMPLES

Remove efi from /hp-ux/ of device file /dev/rdsk/c1t4d0s1 with EFI file system:

efi_rmdir -d /dev/rdsk/c1t4d0s1 /hp-ux/efi

AUTHOR

efi_rmdir was developed by HP.