FYSOS: The Virtual File System
Benjamin David Lunt
1st Edition
(Updated: 2022 Feb 09)
ISBN-13: 978-11499164893
ISBN-10: 1499164890
Available at
Amazon or your favorite book source
and in
PDF format
Volume Two of a
series of books on Operating System Design
Please go to the bottom of
this page and write a review. Thank you.
See
below for customer comments
This book is Volume 2 of the series, FYSOS: Operating System Design, and will describe the process needed to connect a file system to your kernel. It explains the steps to create a file system independent link between a file system residing on the media to your kernel code. Once you have done this, a simple call to fopen("C:\filename.txt", OPEN) is all you need to open a file.
It then goes into detail, giving examples of what a file system should be, how to create your own, and what to include in that file system. It also explains the process of a simple journaling file system.
Part 2 of this book details four file systems, two commonly used and well known, and two hobby file systems.
The companion CD-ROM contains source code to utilities to check your work, display the contents of a file system, dump a file system, and repair a file system.
This book, and its continued series of books, does not expect you to build the next great wonder of the computer world. It simply will help you with your interest in controlling the computer's hardware, from the point the BIOS releases execution to your boot code to the point of a fully working Graphical User Interface.
It is not required that you know much about operating system design to use this book and no specific hardware or software is required.
Information in the book or on the CD-ROM may include
217 pages
• The Link between your kernel and the file system
• File System Function Calls
• Disk Parameter Blocks
• File Pointers
• File System Journals
• Details on the FAT, FYSFS, LEAN, and CDFS File Systems
• Details and/or C Source code to:
• Make a file system image (FAT, FYSFS, LEAN, SFS, and CDFS)
• Check a Lean File System
• CD-ROM Multi-boot boot sector
The Companion CD-ROM
The companion CD-ROM is no longer available due to the ease of access to the internet. With that being said, the source code is available via github.
See Appendix A for the structure and contents of this repository, which will be updated when time, neccesity, and/or interest allows.
Table of Contents
Introduction
Part 1
1. The File System Overview
2. The Virtual Link
3. The Function Calls
4. Directories
5. A Simple File System
6. Inodes and File Extents
7. Journals
8. File System Creation
Part 2
9. The FAT File System
10. The FYSFS File System
11. The Lean File System
12. The SFS File System
13. The "ISO" File System
Appendix A - Disc Contents
Appendix B - Included Utilities/Source Code
Appendix C - Tables and Figures
Appendix D - UTF-8/16
Appendix E - One Physical Floppy, Two Logical Drives
Appendix F - File System Detection
Appendix G - Timestamps
Appendix H - Multi-boot CDROMs
Appendix X - For More Information
Bibliography
A more detailed Table of Contents (pdf), stripped directly out of the book.
User Comments
- - "Thanks Ben! I'm looking forward for the release of the GUI as well as the other books in the series", Clark Chua