efi_mkdir(1M) efi_mkdir(1M)
Itanium(R)-Based Processor Family Only
NAME [Toc] [Back]
efi_mkdir - make an EFI directory
SYNOPSIS [Toc] [Back]
efi_mkdir [-d devicefile] [-p] dirname
DESCRIPTION [Toc] [Back]
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. If dirname 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 [Toc] [Back]
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 environment variable EFI_PARTITION if it is
defined. The -d option overrides the EFI_PARTITION
environment variable.
-p Create intermediate directories as necessary.
RETURN VALUE [Toc] [Back]
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 [Toc] [Back]
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 system, when /abc does not exist yet:
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004
efi_mkdir(1M) efi_mkdir(1M)
Itanium(R)-Based Processor Family Only
efi_mkdir -d /dev/rdsk/c1t4d0s1 -p /abc/def/
AUTHOR [Toc] [Back]
efi_mkdir was developed by HP.
SEE ALSO [Toc] [Back]
efi_fsinit(1M), efi_cp(1M), efi_ls(1M), efi_rm(1M), efi_rmdir(1M),
efi(4).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: Sep 2004 [ Back ] |