---
title: Chapter 22. Other File Systems
part: Part III. System Administration
prev: books/handbook/zfs
next: books/handbook/virtualization
description: This chapter shows the other filesystems supported by FreeBSD
tags: ["filesystem", "ext2", "ext3", "ext4", "ext2fs"]
showBookMenu: true
weight: 26
path: "/books/handbook/"
aliases: ["/en/books/handbook/filesystems-linux/"]
---

[[filesystems]]
= Other File Systems
:doctype: book
:toc: macro
:toclevels: 1
:icons: font
:sectnums:
:sectnumlevels: 6
:sectnumoffset: 22
:partnums:
:source-highlighter: rouge
:experimental:
:images-path: books/handbook/filesystems/

ifdef::env-beastie[]
ifdef::backend-html5[]
:imagesdir: ../../../../images/{images-path}
endif::[]
ifndef::book[]
include::shared/authors.adoc[]
include::shared/mirrors.adoc[]
include::shared/releases.adoc[]
include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[]
include::shared/{{% lang %}}/mailing-lists.adoc[]
include::shared/{{% lang %}}/urls.adoc[]
toc::[]
endif::[]
ifdef::backend-pdf,backend-epub3[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
endif::[]

ifndef::env-beastie[]
toc::[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]

[[filesystems-synopsis]]
== Synopsis

File systems are an integral part of any operating system.
They allow users to upload and store files, provide access to data, and make hard drives useful.
Different operating systems differ in their native file system.
Traditionally, the native FreeBSD file system has been the Unix File System UFS which has been modernized as UFS2.
Since FreeBSD 7.0, the Z File System (ZFS) is also available as a native file system.
See crossref:zfs[zfs,The Z File System (ZFS)] for more information.

In addition to its native file systems, FreeBSD supports a multitude of other file systems so that data from other operating systems can be accessed locally, such as data stored on locally attached USB storage devices, flash drives, and hard disks.
This includes support for the Linux(R) Extended File System (EXT).

There are different levels of FreeBSD support for the various file systems.
Some require a kernel module to be loaded and others may require a toolset to be installed.
Some non-native file system support is full read-write while others are read-only.

After reading this chapter, you will know:

* The difference between native and supported file systems.
* Which file systems are supported by FreeBSD.
* How to enable, configure, access, and make use of non-native file systems.

Before reading this chapter, you should:

* Understand UNIX(R) and crossref:basics[basics,FreeBSD basics].
* Be familiar with the basics of crossref:kernelconfig[kernelconfig,kernel configuration and compilation].
* Feel comfortable crossref:ports[ports,installing software] in FreeBSD.
* Have some familiarity with crossref:disks[disks,disks], storage, and device names in FreeBSD.

[[filesystems-linux]]
== Linux(R) File Systems

FreeBSD provides built-in support for several Linux(R) file systems.
This section demonstrates how to load support for and how to mount the supported Linux(R) file systems.

=== ext2 / ext3 / ext4

Kernel support for ext2 file systems has been available since FreeBSD 2.2.
The man:ext2fs[5] driver allows the FreeBSD kernel to both read and write to ext2, ext3, and ext4 file systems.

[NOTE]
====
Journalling and encryption are not supported yet.
====

To access an ext file system, mount the ext volume by specifying its FreeBSD partition name and an existing mount point.
This example mounts [.filename]#/dev/ad1s1# on [.filename]#/mnt#:

[source,shell]
....
# mount -t ext2fs /dev/ad1s1 /mnt
....
