Page 1 of 1

Implementing ext4

Posted: Fri Aug 06, 2021 8:50 am
by PavelChekov
How would I implement the ext4 filesystem in my OS? The only detailed article on the wiki concerning ext is ext2.

Thanks :mrgreen:

Re: Implementing ext4

Posted: Fri Aug 06, 2021 9:14 am
by Octocontrabass

Re: Implementing ext4

Posted: Fri Aug 06, 2021 2:45 pm
by PavelChekov
Thanks!

Re: Implementing ext4

Posted: Tue Aug 31, 2021 4:52 pm
by PavelChekov
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.)

Re: Implementing ext4

Posted: Tue Aug 31, 2021 5:24 pm
by Octocontrabass

Re: Implementing ext4

Posted: Wed Sep 01, 2021 5:03 pm
by PavelChekov
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 . . .

Re: Implementing ext4

Posted: Wed Sep 01, 2021 5:29 pm
by Octocontrabass
PavelCheckov wrote:Is there an all-in-one doc containing all the specifications of ext4?
This is the closest you're going to get.
PavelCheckov wrote:Also, I cannot find documentation on XFS, JFS, BTRFS, UFS, or ZFS . . .
You're not looking very hard.

Re: Implementing ext4

Posted: Wed Sep 01, 2021 6:21 pm
by PavelChekov
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.

Re: Implementing ext4

Posted: Thu Sep 02, 2021 1:54 am
by Korona
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.