Non-POSIX file systems

Operating systems and file systems have traditionally been developed hand in hand. They impose mutual constraints on each other. Today we have two major leaders in file system semantics: Windows and POSIX. They are very close to each other when compared to the full set of possibilities. Interesting things happened before POSIX monopolized file system semantics.

When you use a file system through a library instead of going through the operating system there are some extra possibilities. You are no longer required to obey the host operating system’s semantics for filenames. You get to decide if you use / or \ to separate directory components (or something else altogether). Maybe you don’t even use strings for filenames. The fs-fatfs library uses a list of strings, so it’s up to the caller to define a directory separator for themselves. While working on that library, I was driven to write down some ideas that I’ve previously run across and found inspirational.

A deep dive into file system hierarchies before the major platforms we used today – POSIX and Windows – became the two de-facto standards. Excellent article, and a joy to read.

27 Comments

  1. 2020-09-08 10:49 pm
    • 2020-09-09 12:40 am
      • 2020-09-09 1:21 am
        • 2020-09-09 2:39 am
      • 2020-09-09 6:53 am
    • 2020-09-09 9:04 am
      • 2020-09-09 11:20 am
        • 2020-09-09 11:49 am
          • 2020-09-09 12:25 pm
          • 2020-09-09 12:38 pm
      • 2020-09-09 11:43 am
        • 2020-09-09 2:14 pm
    • 2020-09-12 7:59 am
    • 2020-09-12 7:32 pm
  2. 2020-09-10 6:55 am
    • 2020-09-10 9:01 am
    • 2020-09-11 9:31 am
      • 2020-09-13 7:15 pm
  3. 2020-09-10 9:13 am
    • 2020-09-10 10:38 am
  4. 2020-09-10 1:22 pm
    • 2020-09-10 2:29 pm
    • 2020-09-12 8:17 am
      • 2020-09-13 7:22 pm
        • 2020-09-13 9:13 pm
          • 2020-09-14 9:18 am
          • 2020-09-14 10:03 am