HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)

e
efi_mkdir(1M) efi_mkdir(1M)
(Itanium(R)-Based Processor Family Only)
NAME
efi_mkdir - make an EFI directory
SYNOPSIS
efi_mkdir [-d devicefile][
-p] dirname
DESCRIPTION
efi_mkdir makes 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).
efi_mkdir creates directory dirname in the EFI volume specified by devicefile.Ifdirname already
exists,
efi_mkdir exits with a diagnostic message, and the directory is not changed. If more than one
subdirectory needs to be created to make dirname,
efi_mkdir exits with a diagnostic message and the
directory is not changed, unless the
-p option is specified. dirname should be relative to the root of the
EFI volume specified by devicefile, not to an HP-UX file system.
Options
Options can be used singly or combined in any order before the file names. The space between option and
argument is optional.
-d devicefile devicefile is the device special file of the EFI file system where the directory is to be
made. Without the
-d option, efi_mkdir 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.
-p Create intermediate directories as necessary.
RETURN VALUE
efi_mkdir returns exit code 0 if the directory is made successfully. Otherwise it prints a diagnostic
message and returns nonzero.
0 Successful completion.
>0 Error condition occurred.
EXAMPLES
Create directory hp-ux in device file /dev/rdsk/c1t4d0s1
, which contains an EFI file system:
efi_mkdir -d /dev/rdsk/c1t4d0s1 hp-ux
Create a directory /abc/def/ in device file /dev/rdsk/c1t4d0s1
, which contains an EFI file sys-
tem, when
/abc does not exist yet:
efi_mkdir -d /dev/rdsk/c1t4d0s1 -p /abc/def/
AUTHOR
efi_mkdir was developed by HP.
SEE ALSO
efi_fsinit(1M), efi_cp(1M), efi_ls(1M), efi_rm(1M), efi_rmdir(1M), efi(4).
Section 1M162 Hewlett-Packard Company 1 HP-UX 11i Version 2: September 2004