SDK - Camera File Systems

From edgertronic high speed video camera
Jump to navigation Jump to search


Home

Camera metadata file




Overview

The camera runs the Linux operating system which uses multiple file systems. The normal Linux pseudo file system (proc, sysfs, devpts) are used, along with the following storage file systems.

File System Type Device File Mount Point Usage
BOOT VFAT /dev/mmcblk0p2 not mounted uboot boot files including kernel command line and Linux kernel image. The BOOT file system is not used when Linux is running.
ROOT EXT3 /dev/mmcblk0p2 / Linux root file system. Mounted read-only.
RW EXT3 /dev/mmcblk0p3 /mnt/rw User configuration files. The camera settings are stored in this file system, along with custom fixed IP address, network file system configuration data, and custom audio / video pipeline files. Updating the camera causes this file system to be erased.
SDCARD VFAT /dev/mmcblk1p1 /mnt/sdard SD card files.
USB VFAT /dev/sd* /mnt/usb USB storage device files. Since you can install many USB storage devices (by using USB hubs), Linux assigns each currently installed USB storage device a device file. Typically there is only one USB storage device and the file system device file is typically /dev/sda1.
NET CIFS none /mnt/net Common Internet File System based network files. Also known as Windows share.
TEMP tmpfs none /tmp Log file storage. Lost when camera is powered off.

You can access any of the camera's file systems via telnet.

File system web access

Part of the root file system, called static is exposed via the lighttpd web server. In the root file system, static corresponds to the /home/root/ss-web/static directory. The following key directories can be accessed using your web browser.

Directory Contents
/static Top level of directories accessible via the web browser
/static/mnt/sdcard All files on the SD card including the DCIM directory that contains all the videos and metadata files.
/static/mnt/usb All files on the currently mounted USB storage device including the DCIM directory that contains all the videos and metadata files.
/static/host Python host CAMAPI package and example usage file making it easy to control the camera using the python programming language.
/static/sdk Example python files showing how to add URLs and custom encode pipelines to the camera. The custom encode pipelines is a 2.3 release feature.
/static/log Camera log files. Very helpful to provide the log file if your camera is misbehaving.

All files and directories in static that are not listed above are subject to change.

You can browse to the static directory using

 http://10.11.12.13/static

replacing 10.11.12.13 with your camera's IP address as necessary.



Home

Camera metadata file