Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > E

efi_mkdir(1M)

Itanium(R)-based Systems Only
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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-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

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

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 system, when /abc does not exist yet:

efi_mkdir -d /dev/rdsk/c1t4d0s1 -p /abc/def/

Create a directory /abc/def/ in persistent device file /dev/rdisk/disk7_p1 (see intro(7)), which contains an EFI file system, when /abc does not exist yet:

efi_mkdir -d /dev/rdisk/disk7_p1 -p /abc/def/

AUTHOR

efi_mkdir was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.