/olfs

Filesystem using Linux FUSE in C

Primary LanguageC

OLFS

  • oleks file system

FUSE filesystem driver that will let you mount a 1MB disk image (data file) as a filesystem.

You’ll need to install the fuse and libfuse-dev packages. Make sure your working directory is a proper Linux filesystem, not a remote-mounted Windows or Mac directory.

Functionality

  • Create files.
  • List the files in the filesystem root directory (where you mounted it).
  • Write to small files (under 4k).
  • Read from small files (under 4k).
  • Delete files.
  • Rename files.
  • Read and write from files larger than one block. For example, you should be able to support one hundred 1k files or five 100k files.
  • Create directories and nested directories. Directory depth should only be limited by disk space (and possibly the POSIX API).
  • Remove directories.
  • Hard links.
  • Symlinks
  • Support modification and display of metadata (permissions and timestamps) for files and directories.
  • Don't worry about multiple users. Assume the user mounting the filesystem is also the owner of any filesystem objects.