Roll Your Own Filesystem

From OSDev Wiki
Jump to: navigation, search

This page is under construction! This page is a work in progress and may thus be incomplete. Its content may be changed in the near future.

Difficulty level
Difficulty 4.png
Master

You shouldn't do this! This page or section is unconventional. You shouldn't do this.

Contents

Introduction

Please note that rolling your own filesystem IS NOT RECOMMENDED. You're likely to make it a FAT style filesystem, and please, we don't need another one of those. However, for those of you who wish to defy convention, then we need to stop you making a FAT for sanity's sake. So here is a tutorial on how to avoid a FAT (of course, the design is up to you, so we'll give you a complete tutorial on how to make it).

Avoiding FAT

So how do you avoid a FAT? It all comes down to recognizing a FAT and punching yourself if your FS matches the description.

Dos

  • Use trees
  • others?

Don'ts

  • Use a File Allocation Table
  • others?

Booting from your filesystem

You have 3 options here. You didn't expect GRUB to by pshycic and magically code itself, did you? Here are your options, in order of difficulty (and reward)

Personal tools
Namespaces
Variants
Actions
Navigation
About
Toolbox