TargetRFS™ RAM Unix-like File System

Overview

TargetRFS is a robust, Unix-like file system for temporary files that uses malloc() and free() for its backing store.

Features

  • A reliable, re-entrant file system with a full POSIX and Standard C compliant API including links, file access permissions, long file names, and atime/ctime/mtime timestamps.

  • Supports the POSIX “self”, “group”, and “others” file access protections, allowing applications to restrict some operations to privileged tasks. TargetRFS calls FsGetId(), implemented by the application, to get the running task’s user and group IDs.

  • Per-task CWDs. The CWD is specified by two 32-bit variables. TargetRFS calls application functions to read and write the CWD state variables. If an RTOS is used and these variables are accessed in a task specific way, each task has its own CWD.

  • Fast storage of temporary files. Use of RAM for the backing store is invisible to the application layer. Automatically calls malloc() and free() as needed when files are created, grown, or deleted. No configuration or pre-allocation of RAM memory is required.

  • Garbage collection is performed to ensure minimal RAM footprint for TargetRFS metadata.

  • Shipped with four sample applications: a binary search application, a shell that supports “cd”, “ls”, “mkdir”, “pwd”, etc, and two applications that test assorted file system calls. The shell may be extended with user commands.

  • Developed using TargetOS™-Lite, Blunk’s free RTOS. Easily ported to other RTOSes or used in polled mode, without a kernel.

  • Royalty-free. Includes Standard C source code, user’s manual, sample applications, and one year of technical support. Delivered electronically via customer-specific web portal.