User`s guide
The ConnectPort X2e ZB filesystem
94
The ConnectPort X2e ZB filesystem
The ConnectPort X2e ZB has a Linux-based filesystem. This section gives an overview of the key
directories of the filesystem and common operations performed on directories and files.
Differences between Windows and Linux filesystems
If you are transitioning from a Windows-based filesystem to a Linux filesystem, the following
article covers some of the key differences between Linux and Windows filesystems.
http://freeos.com/articles/3102
Important directories
The files on a Linux system are arranged in what is called a hierarchical directory structure. This
means that they are organized in a tree-like pattern of directories (called folders in other systems),
which may contain files and other directories. The first directory in the file system is called the
root directory. The root directory contains files and subdirectories, which contain more files and
subdirectories and so on and so on. One important difference between the legacy operating system
and Unix-like operating systems such as Linux is that Linux does not employ the concept of drive
letters. While drive letters split the file system into a series of different trees (one for each drive),
Linux always has a single tree. Different storage devices may contain different branches of the tree,
but there is always a single tree.
The frontslash / is used as a directory separator, instead of the backslash \ used in Windows and
DOS.
The /WEB/python/ directory is for user-specific files, such as custom Python applications.
Subdirectories can be created in this area for the customer's applications. This area is read-write.
The /WEB/logging directory contains system log files, including eventlog.txt, python.log,
digi.log, xbee.log, and sef.log. These files are read-only. For more information on these files, see
"System Log" on page 75.
Access/browse the filesystem from device interfaces
There are three aspects or ways in which you will interact with the filesystem resident on the
ConnectPort X2e ZB: through the web interface, and through the command line interface, and
through iDigi.
Common operations for directories and files
The ConnectPort X2e ZB supports standard Linux shell file operations for managing directories
and files. See the command shell reference document listed on page 95 for details on these
operations.