RAM-disk and tar filesystem managers

These managers are in the same directory (fsys) in the archive because they rely on a common library.

fsys/lib/
The library includes the following:
  • block.h—manifest constants and declarations for the block functions
  • cfs.h—constants and declarations for the captive filesystem library
  • mpool.h—manifest constants and declarations for the memory pool module
  • block.c—block functions that deal with the data storage blocks
  • cfs_attr_init.c, cfs_func_init.c—the captive filesystem utility library's initialization functions
  • io_close.c, io_devctl.c, io_space.c—handler functions for the captive filesystem utility library
  • mpool.c—memory pool library
Note: The captive filesystem utility library isn't thread-safe, but the memory pool library is.
fsys/ramdisk/
The RAM-disk filesystem includes the following:
  • cfs.h, ramdisk.h—manifest constants and declarations for the RAMDISK filesystem
  • attr.c—attribute-handling module
  • c_link.c, c_mknod.c, c_mount.c, c_open.c, c_readlink.c, c_rename.c, c_unlink.c—handlers for the connect functions
  • debug.c—functions to help with debugging
  • dirent.c—functions that handle directory entries
  • io_read.c, io_write.c—handlers for the captive filesystem I/O functions
  • main.c—main module
  • pathname.c—functions that handle pathnames
  • ramdisk_io_read.c, ramdisk_io_write.c—handlers for the RAM-disk I/O functions
  • utils.c—utility functions
fsys/tarfs/
The TAR filesystem and its mount_tarfs helper program consist of the following:
  • cfs.h, tarfs.h—manifest constants and declarations for the TAR filesystem
  • attr.c—attribute-handling module
  • c_link.c, c_mknod.c, c_mount.c, c_open.c, c_readlink.c, c_rename.c, c_unlink.c—handlers for the connect functions
  • debug.c—functions to help with debugging
  • dirent.c—functions that handle directory entries
  • io_read.c, io_write.c— handlers for the I/O functions
  • m_main.c—main module for the mount_tarfs utility
  • main.c—main module for the TAR filesystem
  • pathname.c—functions that handle pathnames
  • tarfs.c—support routines
  • tarfs_io_read.c—the io_read handler
  • utils.c—utility functions