View the USB File Directory

The following explains how to use System Config Tool to view the directory tree of a USB device. It covers two methods of exploring the volume contents: a UI-based system and a command line-based one.

The UI method

With the UI method, you may explore a directory tree for the USB by using the System Config Tool and a controller.

To view the USB file directory using System Config Tool

  1. Insert a Wii File System (WFS) formatted USB device in to a CAT-DEV or CAT-R. For information about formatting the USB device, see Format a USB Device.
  2. Navigate to the folder on the host PC where the Cafe SDK is installed, and then double-click cafe.bat.
  3. On the System Config Tool Root Menu, navigate to System Titles Viewer, and then press the A Button. A list of the base volumes, including the USB, is displayed.
  4. Select /vol/usb01, and then press the A Button. The list of titles on the USB storage device is displayed.

When you browse the directory tree and select any of the titles, information about the title is displayed. To return to the parent directory, press the B Button.

When you select a .xml or .txt file, the content of the file is printed on the screen. The file is also saved to the system logs, which can be stored on an SD card. For information, see Saving System Logs on SD Card.

Command Line Method

You may use the command line method from anywhere within System Config Tool. However, it is recommended that the UI option be used.

To view the USB file directory using the command line method for CAT-DEV

  1. Insert a Wii File System (WFS) formatted USB device into one of the 4 USB ports on a CAT-DEV. For information about formatting the USB device, see Format a USB Device.
  2. Navigate to the folder where you installed the Cafe SDK, and then double-click cafe.bat. The Cafe Cygwin shell opens.
  3. At the Cafe Cygwin shell command prompt, type cafeon and then press ENTER.
    Do not press CTRL+C after the CAT-DEV reboots.
  4. At the System Config Tool prompt, type load cmd_fsa, and then press ENTER.
  5. The pwd command prints the current directory, which should be /dev/.
  6. The ls command prints a list of devices attached. usb01 should be one of them.
  7. The ls -l /vol/storage_usb01 command to lists all directories under /vol/storage_usb01. You may want to use this command in conjunction with the saving syslog to SD feature to have a printout of the entire directory on the USB.
  8. The cd /vol/storage_usb01 command changes the current working directory to /vol/storage_usb01. From here, you may cd into any directory and list the content with the ls command.
  9. The ls -l -R command prints all directories from the current one recursively.
Only a few names are allowed for the mounted volume. The allowed names are:
  • usb## - where ## is a number
  • storage_usb## - where ## is a number

See Also

Working with USB Storage Devices
Browsing and Launching a title from the USB Storage device
Listing titles installed on USB and checking their size

Revision History

2013/05/08 Automated cleanup pass.
2012/10/08 Removed information surrounding copy command.
2012/09/28 Edited for clarity
2012/09/05 Initial document