filmov
tv
#OSdev 04 Coding your own File System in C

Показать описание
In this exciting new episode we will implement our own filesystem in C. We're going to utilize our disk emulator and our OSapi which makes it possible to run this project under Windows, MacOS or Linux - no virtual machines necessary!
Our filesystem will make use of a regular file on your disk, emulating a real hard disk device - which makes all this possible during development. Then we can easily switch to a real hard disk model when we are done coding, going into production.
This project works perfectly fine on its own, you don't even need to watch the earlier episodes because all the code is available in the repo. However, this episode is still part of my OSdev series where we develop a fully functional, real MS-DOS like operating system, based on the Intel x86 16 bit real mode architecture.
References
1. Designing your own Filesystem
2. Coding a disk emulator in C
Buy my book about computer networking:
Become a channel member and get several benefits, check out:
Table of Contents
00:00:00 The FS in 30 sec
00:00:30 Introduction / planning
00:10:35 Data structures
00:36:05 Utility functions
00:50:08 Formatting disk
01:34:35 Implementing a bitmap
03:51:30 Adv. bitwise functions
04:46:00 Handling files (inodes)
06:12:56 Mounting the FS
Our filesystem will make use of a regular file on your disk, emulating a real hard disk device - which makes all this possible during development. Then we can easily switch to a real hard disk model when we are done coding, going into production.
This project works perfectly fine on its own, you don't even need to watch the earlier episodes because all the code is available in the repo. However, this episode is still part of my OSdev series where we develop a fully functional, real MS-DOS like operating system, based on the Intel x86 16 bit real mode architecture.
References
1. Designing your own Filesystem
2. Coding a disk emulator in C
Buy my book about computer networking:
Become a channel member and get several benefits, check out:
Table of Contents
00:00:00 The FS in 30 sec
00:00:30 Introduction / planning
00:10:35 Data structures
00:36:05 Utility functions
00:50:08 Formatting disk
01:34:35 Implementing a bitmap
03:51:30 Adv. bitwise functions
04:46:00 Handling files (inodes)
06:12:56 Mounting the FS
Комментарии