From the course: Linux: Storage Systems

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

File system types: ext4, Btrfs, and XFS

File system types: ext4, Btrfs, and XFS - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

File system types: ext4, Btrfs, and XFS

- [Instructor] File system types. Linux has lots of kinds of file systems. Some of those are pseudo kind of file systems like proc and sysfs, but there's many kinds of file systems for disk file systems. The recent Linux kernel, for example, has 95 different calls to register_filesystem(), which is the function that code uses to register the different parts of the API to support being a file system. So, XFS would register a file system, and exd4 would, and exd2 would, and so forth. So there's lots of kinds of file systems in the kernel. For disk-based file systems, there's a lot of ways that file systems can differ from each other. For example, if a file system supports journaling. A journal is writing what you're going to do. I'm going to change this sector. Then, after you're done changing that sector, then you can say I wrote it. The good thing about a journal is you say what you're going to do, so you have a list of what you're working on, and if you lose power, when we come back…

Contents