EXT2FS(4)

πŸ“¦ version 15.1, in freebsd 15.1, nixpkgs unstable

πŸ’… ext2fs(4) β€” ext2/ext3/ext4 file system πŸ’…

okay bestie so this is a page from the Kernel Interfaces Manual, section 4 β€” the part of the manual where kernel-level stuff lives (iykyk). this one is all about ext2fs, and honestly? it's giving "quietly carrying the entire Linux-on-FreeBSD friendship" energy. let's get into it ✨


πŸ’– NAME πŸ’–

ext2fs β€” the ext2/ext3/ext4 file system, bestie!! that's it, that's the name πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

so there's two ways to bring this icon into your life, depending on your vibe:

if you want to link it straight into the kernel:

options EXT2FS

if you'd rather load it as a kernel loadable module (the flexible, main-character move):

kldload ext2fs

🌸 DESCRIPTION 🌸

okay so the ext2fs driver lets the FreeBSD kernel go ahead and access ext2 file systems and its derivatives. yes, derivatives β€” the whole little family. no gatekeeping here 🫢

it currently implements most of the features required by ext3 and ext4 file systems. most, bestie, not all β€” read the room on that one.

and now the fine print, because we keep it real:

  • Support for Extended Attributes in ext4 is experimental πŸ™ˆ (so like, it works, but don't make it the main character of your production setup, you know?)
  • Journalling β€” currently not supported πŸ’€
  • Encryption β€” currently not supported πŸ’€
no cap, those last two are genuinely important. don't assume journalling or encryption are there just because ext3/ext4 have them. they're not. bestie please read the caveats, i'm begging 😭

⭐ EXAMPLES ⭐

wanna mount an ext2fs volume that lives on /dev/ada1s1? iconic, here's literally the whole thing:

mount -t ext2fs /dev/ada1s1 /mnt

that's it. that's the example. slay πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

the little friends-adjacent pages you should also check out, fr fr:


🌈 HISTORY 🌈

the ext2fs driver first appeared in FreeBSD 2.2 πŸ‘‘ β€” yes, she's been around a minute. seasoned. iconic. ate.


🧚 AUTHORS 🧚

credit where credit is due, because none of this was a solo project:

  • The ext2fs kernel implementation is derived from code written, or modified, by Godmar Back, using the UFS CSRG sources for CMU Mach ✨
  • John Dyson did the initial port to FreeBSD 🫢
  • Aditya Sarawgi merged important parts of the allocation code from a clean-room NetBSD implementation πŸ’œ
  • Zheng Liu implemented the read support for ext4 filesystems, and Fedor Uporov implemented the write support β€” read and write, the duo we didn't know we needed πŸŽ€
  • The FreeBSD community has contributed a huge amount of modifications β€” group effort, group chat energy, we love to see it πŸ’–
  • The initial version of this manual page was written by Craig Rodrigues <rodrigc@FreeBSD.org> 🌸

πŸ’€ little reminder before you go: extended attributes in ext4 = experimental, journalling = not supported, encryption = not supported. that's not me being dramatic, that's the manpage being real.

and that's the whole vibe check! source/version says Debian, dated December 30, 2018 β€” so big thank you to Debian for shipping this page, and to 2018 for coming through with it. bye bestie, go mount something safe πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from