Implementing ext4
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Implementing ext4
How would I implement the ext4 filesystem in my OS? The only detailed article on the wiki concerning ext is ext2.
Thanks
Thanks
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5565
- Joined: Mon Mar 25, 2013 7:01 pm
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Implementing ext4
Thanks!
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Implementing ext4
Where is the superblock located on the harddisk?
(I know this is probably a better question for a Linux forum, but I'll ask it here anyway.)
(I know this is probably a better question for a Linux forum, but I'll ask it here anyway.)
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5565
- Joined: Mon Mar 25, 2013 7:01 pm
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Implementing ext4
Is there an all-in-one doc containing all the specifications of ext4?
Also, I cannot find documentation on XFS, JFS, BTRFS, UFS, or ZFS . . .
Also, I cannot find documentation on XFS, JFS, BTRFS, UFS, or ZFS . . .
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5565
- Joined: Mon Mar 25, 2013 7:01 pm
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Implementing ext4
Allow me to be more specific: I cannot find any up-to-date documentation from the original site, and not from some unknown webpage on the corner of the web, which has a scan of it.
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
Re: Implementing ext4
Few FSes have formal specs (though counterexamples such as FAT exist). For most FSes that are originally implemented for Linux, the source is the most reliable documentation.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].