Storage

Underlying Storage

Filesystem                Size      Used Available Use% Mounted on
rootfs                  147.9M    147.9M         0 100% /
/dev/root               147.9M    147.9M         0 100% /
df: /ramtmp: No such file or directory
df: /ramtmp/p1: No such file or directory
df: /ramtmp/p2: No such file or directory
/dev/loop0              147.9M    147.9M         0 100% /
tmpfs                     8.0M     20.0k      8.0M   0% /dev
tmpfs                   300.0M     13.6M    286.4M   5% /tmp
tmpfs                     8.0M     32.0k      8.0M   0% /var
/dev/Glob_Spectraa3     219.4M     21.3M    198.1M  10% /data
/dev/Glob_Spectraa4     218.9M     16.2M    202.8M   7% /download
# fdisk -l
Note: sector size is 4096 (not 512)

Disk /dev/Glob_Spectraa: 937 MB, 937426944 bytes
4 heads, 16 sectors/track, 3576 cylinders
Units = cylinders of 64 * 4096 = 262144 bytes

             Device Boot      Start         End      Blocks  Id System
/dev/Glob_Spectraa1             250        1155      231936  83 Linux
/dev/Glob_Spectraa2            1156        1766      156416  83 Linux
/dev/Glob_Spectraa3            1767        2672      231936  83 Linux
/dev/Glob_Spectraa4            2673        3576      231424  83 Linux

Glob_Spectraa1=

Appears to be an Ext3 file system to hold the update image when extracted. Not mounted by default, and doesn't seem to mount, at least easily.

# strings /dev/Glob_Spectraa1
lost+found
dlink_boxee_runtime.img
dlink_bootup.bmp
{snip}
# mount -t ext3 /dev/Glob_Spectraa1 /data/mnt/
mount: mounting /dev/Glob_Spectraa1 on /data/mnt/ failed: Device or resource busy

Glob_Spectraa2=

Appears to be an Ext3 file system to hold the recovery image. Not mounted by default, and doesn't seem to mount, at least easily.

# strings /dev/Glob_Spectraa2 | head
{snip}
lost+found
recovery.iso
{snip}
# mount -t ext3 /dev/Glob_Spectraa2 /data/mnt/
mount: mounting /dev/Glob_Spectraa2 on /data/mnt/ failed: Device or resource busy

Glob_Spectraa3=

Ext3 file system - Holds 219MB of persistent storage mounted on /data

# ls -la /data/
drwxr-xr-x    6 root     0            4096 Nov 14 07:46 .
drwxr-xr-x   16 root     0             275 Oct 10 22:15 ..
drwxr-xr-x    3 root     0            4096 Jan  1  2010 .boxee
drwxr-xr-x    3 root     0            4096 Dec 31  1999 .persistent
drwxr-xr-x    3 root     0            4096 Nov 13 22:02 etc
drwx------    2 root     0           16384 Dec 31  1999 lost+found

Glob_Spectraa4=

Ext3 file system - Holds 218MB of persistent storage mounted on /download - it's assumed this is for holding downloaded updates.

# ls -la /download/
drwxr-xr-x    3 root     0            4096 Dec 31  1999 .
drwxr-xr-x   16 root     0             275 Oct 10 22:15 ..
drwx------    2 root     0           16384 Dec 31  1999 lost+found

/dev/ram0=

File list of /dev/ram0 - a 3.8MB Ext2 RAM disk with 2.7MB in use. It appears to be a minimal root filesystem using busybox for all binaries except for "init" and "Stage4Verifier".

./etc
./etc/profile
./etc/rc3.d
./etc/rc3.d/S08kernel
./etc/rc3.d/S04network
./etc/rc3.d/S02system_setup
./etc/rc3.d/S06telnetd
./etc/syslog.conf
./etc/init.d
./etc/init.d/system_setup
./etc/init.d/framework
./etc/init.d/rc
./etc/init.d/init_utilities
./etc/init.d/init_failure
./etc/init.d/telnetd
./etc/init.d/system_utils
./etc/init.d/kernel
./etc/init.d/network
./etc/init.d/rcS
./etc/hostname
./etc/nsswitch.conf
./etc/mtab
./etc/dhcp6c.conf
./etc/filesystems
./etc/passwd
./etc/resolv.conf
./etc/sysconfig
./etc/sysconfig/network
./etc/sysconfig/network-scripts
./etc/sysconfig/network-scripts/ifup-post
./etc/sysconfig/network-scripts/ifdown-post
./etc/sysconfig/network-scripts/ifcfg-eth0
./etc/sysconfig/network-scripts/network-functions
./etc/inittab
./etc/udhcpc.script
./etc/issue
./bin
./bin/ping6
./bin/iplink
./bin/printenv
./bin/false
./bin/stty
./bin/zcat
./bin/getopt
./bin/egrep
./bin/sed
./bin/touch
./bin/mknod
./bin/mv
./bin/run-parts
./bin/hexdump
./bin/expr
./bin/echo
./bin/ed
./bin/iprule
./bin/linux64
./bin/watch
./bin/ipcalc
./bin/df
./bin/gzip
./bin/dd
./bin/cpio
./bin/true
./bin/catv
./bin/uname
./bin/nice
./bin/chmod
./bin/hostname
./bin/gunzip
./bin/ash
./bin/ps
./bin/more
./bin/dmesg
./bin/lsattr
./bin/grep
./bin/sleep
./bin/printf
./bin/mktemp
./bin/usleep
./bin/uncompress
./bin/sh
./bin/pipe_progress
./bin/addgroup
./bin/umount
./bin/fgrep
./bin/pwd
./bin/ls
./bin/chattr
./bin/awk
./bin/mkdir
./bin/ipaddr
./bin/rm
./bin/busybox
./bin/stat
./bin/rmdir
./bin/kill
./bin/mountpoint
./bin/setarch
./bin/vi
./bin/ln
./bin/mount
./bin/pidof
./bin/ping
./bin/linux32
./bin/date
./bin/cat
./bin/sync
./bin/tar
./bin/ip
./bin/cp
./bin/netstat
./bin/iproute
./bin/chroot
./dev
./dev/sde5
./dev/sdf5
./dev/mtdr8
./dev/loop5
./dev/port
./dev/sde4
./dev/sda1
./dev/sdc1
./dev/sde2
./dev/ram8
./dev/mtd4
./dev/vcs8
./dev/sdb1
./dev/sda5
./dev/loop1
./dev/ram
./dev/mem
./dev/ram6
./dev/sdf1
./dev/vcsa7
./dev/console
./dev/systty
./dev/mtdr6
./dev/tty0
./dev/sdd3
./dev/vcsa9
./dev/mtd6
./dev/ptmx
./dev/vcs5
./dev/full
./dev/tty8
./dev/sdf3
./dev/ram3
./dev/loop4
./dev/mtd8
./dev/tty5
./dev/sdc3
./dev/mtdblock5
./dev/mtdr2
./dev/sdf2
./dev/tty
./dev/vcs2
./dev/vcs6
./dev/initrd
./dev/sda4
./dev/ram9
./dev/core
./dev/sdb5
./dev/loop0
./dev/tty6
./dev/mtdr7
./dev/urandom
./dev/mtdr1
./dev/null
./dev/ram1
./dev/sdb2
./dev/loop6
./dev/mtd2
./dev/vcs
./dev/vcs1
./dev/kmem
./dev/tty7
./dev/sdd2
./dev/mtd7
./dev/sdf
./dev/random
./dev/sda3
./dev/sda2
./dev/mtdblock7
./dev/vcsa4
./dev/mtd3
./dev/vcsa6
./dev/vcsa1
./dev/loop3
./dev/mtdr4
./dev/mtdblock3
./dev/mtdr0
./dev/sdc2
./dev/Glob_Spectraa4
./dev/mtd1
./dev/Glob_Spectraa
./dev/ram5
./dev/tty1
./dev/sde3
./dev/mtdr3
./dev/mtd5
./dev/sdd1
./dev/Glob_Spectraa3
./dev/loop2
./dev/vcs3
./dev/vcs0
./dev/loop7
./dev/ttyS0
./dev/sdc5
./dev/mtdblock2
./dev/sda
./dev/vcsa5
./dev/tty9
./dev/Glob_Spectraa2
./dev/vcsa2
./dev/vcs7
./dev/zero
./dev/vcs9
./dev/vcsa0
./dev/sdd
./dev/mtdblock4
./dev/ttyS1
./dev/tty2
./dev/sde1
./dev/tty3
./dev/vcsa3
./dev/ram2
./dev/mtd0
./dev/sdd5
./dev/sdc
./dev/mtdblock8
./dev/ttyUSB0
./dev/sde
./dev/tty4
./dev/ram7
./dev/sdd4
./dev/sdb3
./dev/ramdisk
./dev/spectra
./dev/mtdblock1
./dev/mtdblock6
./dev/sdf4
./dev/Glob_Spectraa1
./dev/ram0
./dev/vcsa
./dev/vcsa8
./dev/sdb4
./dev/sdb
./dev/ram4
./dev/vcs4
./dev/mtdblock0
./dev/mtdr5
./dev/sdc4
./dev/Glob_Spectraa5
./dev/Glob_Spectraa6
./ramtmp
./lib
./lib/spectra.ko
./mnt
./proc
./sbin
./sbin/rmmod
./sbin/freeramdisk
./sbin/mkfs.ext3
./sbin/init
./sbin/udhcpc
./sbin/insmod
./sbin/arp
./sbin/klogd
./sbin/mkfs.ext2
./sbin/losetup
./sbin/adjtimex
./sbin/ifconfig
./sbin/setconsole
./sbin/slattach
./sbin/poweroff
./sbin/swapon
./sbin/fdisk
./sbin/halt
./sbin/start-stop-daemon
./sbin/nameif
./sbin/mkswap
./sbin/logread
./sbin/lsmod
./sbin/zcip
./sbin/swapoff
./sbin/hwclock
./sbin/makedevs
./sbin/route
./sbin/hdparm
./sbin/reboot
./sbin/getty
./sbin/syslogd
./sbin/Stage4Verifier
./sys
./tmp
./var

This Busybox contains:

<tt>
[, [[, addgroup, adjtimex, ar, arp, arping, ash, awk, basename, bunzip2, bzcat, bzip2, cal, cat, catv,
chattr, chmod, chpasswd, chpst, chroot, chrt, cksum, clear, cmp, comm, cp, cpio, cut, date, dc, dd,
deallocvt, df, diff, dirname, dmesg, dos2unix, du, echo, ed, egrep, eject, env, envdir, envuidgid, expand,
expr, false, fdisk, fgrep, find, fold, free, freeramdisk, ftpget, ftpput, fuser, getopt, getty, grep,
gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, hwclock, id, ifconfig, inetd, init, insmod,
install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, kill, killall, killall5, klogd, length,
less, linux32, linux64, linuxrc, ln, logger, logread, losetup, ls, lsattr, lsmod, lzmacat, makedevs,
md5sum, mesg, microcom, mkdir, mkfifo, mknod, mkswap, mktemp, more, mount, mountpoint, mv, nameif, nc,
netstat, nice, nmeter, nohup, nslookup, od, openvt, patch, pgrep, pidof, ping, ping6, pipe_progress,
pkill, poweroff, printenv, printf, ps, pwd, rdate, readahead, readlink, realpath, reboot, renice, reset,
rm, rmdir, rmmod, route, rpm2cpio, run-parts, runsv, runsvdir, rx, script, sed, seq, setarch, setconsole,
setlogcons, setsid, sh, sha1sum, slattach, sleep, softlimit, sort, split, start-stop-daemon, stat, strings,
stty, sum, sv, svlogd, swapoff, swapon, sync, syslogd, tac, tail, tar, taskset, tcpsvd, tee, telnet,
telnetd, test, tftp, tftpd, time, top, touch, tr, traceroute, true, tty, ttysize, udhcpc, udpsvd, umount,
uname, uncompress, unexpand, uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode, uuencode, vi,
watch, wc, wget, which, whoami, xargs, yes, zcat, zcip
</tt>

External Storage

USB devices are mounted to /mnt, which is a symlink to /tmp/mnt. A further symlink is created using the volume label of the drive inside /media (which is a symlink to /tmp/media). Samba, if enabled, shares /media by default, exposing any mounted USB drives.

The following formats of external USB drives are supported:

*'''NTFS'''
*'''FAT16''' (filesize limit of 2GB)
*'''FAT32''' (filesize limit of 4GB)
*'''HSF+''', journaling disabled (Change permissions to ''Read and Write'' for ''everyone'' to make it writable over Samba)
*'''EXT2''', uid= 65534
*'''EXT3''', uid= 65534
*'''EXT4''', uid= 65534

Information of supported file types can be found in the Specifications

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License