beautypg.com

34 fatdir, Fatdir, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 91

background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

91

3.1.34 fatDir

Name

fatDir—displays the contents of a device that is formatted with a FAT file system.

Synopsis

fatDir [-d] [-f] [-p] [-t]

Parameters

-d Ps: Device Name (Default = /dev/fd0)

-f 0: Full Listing

-p Ph: Partition Number (Default = 1)

-t 0: Display Partition-Table/BPB

Example

The following example indicates a typical display when using the fatDir command.

MOTLoad> fatDir

Error Messages

fatDir(): partition number out of range

Partition number not between 1 and 4.

fatDir(): fatFsOpen(64) failed

Unable to open FAT file system.

fatDir(): open() failed, errno =

Unable to open device/node.

fatDir(): fatFsGetInfo() failed, status = , errno =

Unable to retrieve disk information.