Specifications
Version 2.0
153
fs0:\> ls -ar
Directory of: fs0:\
06/18/01 11:14p r 29 readme.txt
1 File(s) 29 bytes
0 Dir(s)
To display the files with attribute of 's':
fs0:\> ls -as isabus.efi
Directory of: fs0:\
06/18/01 10:59p 28,739 IsaBus.efi
1 File(s) 28,739 bytes
0 Dir(s)
To display all in fs0:\efi directory recursively:
fs0:\> ls -r -a efi
To search for files with the specified type in the current directory recursively:
fs0:\> ls -r -a *.efi –b
Standard-Format Output
The ls command will produce at least two tables: VolumeInfo and FileInfo. The
VolumeInfo table reports one row for each file system volume reported. The FileInfo
table reports one row for each file, including directories. The following tables describe
the standard table column headings and their description. For more information on
“Standard-Format Output”, see Appendix D.
Table 22 ls Standard Formatted Output (VolumeInfo)
Column
Number
Description
2 Name. Standard volume label
3 Total Size. Total number of bytes in the volume.
4 Read Only. “True” if the volume is read-only, otherwise “False”.
5 Free Space. Total number of free bytes in the volume.
6 Block Size. Nominal block size by which files are typically grown, in bytes.
Table 23 ls Standard Formatted Output (FileInfo)
Column
Number
Description
2 Name. Complete file name & directory, including the file system’s mapped
name.
3 Logical Size. Size of the file, in bytes.
4 Physical Size. Size of the file in the volume, including any padding, in bytes.










