diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc --- a/documentation/content/en/books/faq/_index.adoc +++ b/documentation/content/en/books/faq/_index.adoc @@ -1299,7 +1299,7 @@ Mounting disk partitions from Digital UNIX and other systems that support UFS may be more complex, depending on the details of the disk partitioning for the operating system in question. -ext2/ext3:: +ext2/ext3/ext4:: FreeBSD supports `ext2fs`, `ext3fs`, and `ext4fs` partitions. See man:ext2fs[5] for more information. diff --git a/documentation/content/en/books/handbook/filesystems/_index.adoc b/documentation/content/en/books/handbook/filesystems/_index.adoc --- a/documentation/content/en/books/handbook/filesystems/_index.adoc +++ b/documentation/content/en/books/handbook/filesystems/_index.adoc @@ -81,19 +81,18 @@ === ext2 +The man:ext2fs[5] driver allows the FreeBSD kernel to both read and write to ext2 file systems. + Kernel support for ext2 file systems has been available since FreeBSD 2.2. -In FreeBSD 8.x and earlier, the code is licensed under the GPL. +In FreeBSD 8.x and earlier, the code was licensed under the GPL. Since FreeBSD 9.0, the code has been rewritten and is now BSD licensed. +Starting with FreeBSD 12.1-RELEASE, a DTrace provider is available. -The man:ext2fs[5] driver allows the FreeBSD kernel to both read and write to ext2 file systems. - -[NOTE] +[WARNING] ==== This driver can also be used to access ext3 and ext4 file systems. -The man:ext2fs[5] filesystem has full read and write support for ext4 as of FreeBSD 12.0-RELEASE. -Additionally, extended attributes and ACLs are also supported, while journalling and encryption are not. -Starting with FreeBSD 12.1-RELEASE, a DTrace provider will be available as well. -Prior versions of FreeBSD can access ext4 in read and write mode using package:sysutils/fusefs-ext2[]. +The man:ext2fs[5] filesystem has read and write support for ext3 and ext4 as of FreeBSD 12.0-RELEASE, while prior versions of FreeBSD can access ext3 and ext4 in read-only mode using package:sysutils/fusefs-ext2[]. +Although the man:ext2fs[5] driver supports extended attributes and ACLs, journalling and encryption are not; therefore when accessing an ext3 or ext4 filesystem, it is recommended to mount the filesystem read-only. ==== To access an ext file system, first load the kernel loadable module: @@ -110,3 +109,10 @@ .... # mount -t ext2fs /dev/ad1s1 /mnt .... + +To mount an ext volume read-only, include the `-o ro` option: +[source,shell] +.... +# mount -t ext2fs -o ro /dev/ad1s1 /mnt +.... +