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_ls(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_ls — list EFI file information or contents of an EFI directory

SYNOPSIS

efi_ls [-d devicefile] [path]

DESCRIPTION

efi_ls lists file information or contents of 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_ls lists filenames, last modified dates, and file sizes. devicefile should be a device file for an EFI volume. Given a path, efi_ls determines whether the path is a file or a directory. For a file, efi_ls lists the file by itself. For a directory, efi_ls lists the contents of the directory. If no path is given, efi_ls lists the root directory for EFI volume. A path should be relative to the root of the EFI volume specified by devicefile, not to an HP-UX file system.

Options

efi_ls recognizes the following option:

-d devicefile

devicefile is the device special file of the EFI file system to be listed. Without the -d option, efi_ls 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_ls returns exit code 0 on success. Otherwise it prints a diagnostic message and returns nonzero.

0

Successful completion.

>0

Error condition occurred.

EXAMPLES

List a root directory of device file /dev/rdsk/c1t4d0s1, which contains an EFI file system:

efi_ls -d /dev/rdsk/c1t4d0s1

List a root directory of the persistent device file /dev/rdisk/disk7_p1 (see intro(7)), which contains an EFI file system:

efi_ls -d /dev/rdisk/disk7_p1

List the contents of directory /HPUX/EFI of device file /dev/rdsk/c1t4d0s1, which contains an EFI file system:

efi_ls -d /dev/rdsk/c1t4d0s1 /HPUX/EFI

List information about the file /HPUX/EFI/bootfile of device file /dev/rdsk/c1t4d0s1, which contains an EFI file system:

efi_ls -d /dev/rdsk/c1t4d0s1 /HPUX/EFI/bootfile

AUTHOR

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