Roku PhotoBridge Programming: Patterns and Pitfallsfrequal.com

Roku Filesystem

Mounts

# df -k   
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock/2           3408      2620       788  77% /mnt/flash0
tmpfs                     1024       304       720  30% /tmp
tmpfs                      500        24       476   5% /var
tmpfs                      100         0       100   0% /mnt/smb
/dev/ide/host0/bus0/target0/lun0/part1    249552    209492     40060  84% /mnt/flash1
/dev/mtdblock/2 is part of the built-in flash. It is mounted on /mnt/flash0.

The three tmpfs filesystems all are in-memory filesystems that will be erased upon reboot. 1MB of RAM is used for the /tmp filesystem, 500KB for /var, and 100KB for the /mnt/smb placeholder directory for remote shared folders.

Also shown is a 256MB compact flash card. Compact flash cards are automatically mounted upon insertion and show up as /mnt/flash1. The full list of flash types is as follows:

  • Compact Flash: /mnt/flash1
  • Secure Digital: /mnt/flash2
  • Memory Stick: /mnt/flash3
  • SmartMedia: /mnt/flash4
Any directory whose name begins with a period is considered hidden. Applications and media files in these directories are not shown in the user interface.

Key Directory Locations

  • etc/
    • photosettings: Preferences for the picture display application
    • smbprefs: Preference for the SMB shares, including those currently unchecked in the Network Shares configuration screen
    • rokucascade/
      • settings/: A directory for preferences saved by Cascade applications. Each file in this directory holds one application's preferences.
  • tmp/
    • Volumes/: Has a subdirectory below for each mounted share.
  • usr/

Last modified on 23 Nov 2006 by AO

Copyright © 2024 Andrew Oliver