Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
freebsd_filesystems [2025/07/21 07:02] – steve | freebsd_filesystems [2025/07/21 08:17] (current) – steve | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== FreeBSD Filesystems ====== | ====== FreeBSD Filesystems ====== | ||
- | * [[FreeBSD]] | + | |
+ | * [[zfs]] | ||
+ | |||
+ | In each case here, by default, the examples mount the filesystems as read-only. | ||
==== DVDs ==== | ==== DVDs ==== | ||
Line 17: | Line 20: | ||
</ | </ | ||
- | ==== Fuse Filesystems | + | ==== ext2 / ext3 / ext4 ==== |
- | Install program: | + | FreeBSD can mount extX filesystems natively. |
+ | |||
+ | Mount device **read-only**: | ||
< | < | ||
- | pkg install fusefs-libs | + | mount -t ext2fs -o ro /dev/ada0p4 /mnt/ext2/ |
</ | </ | ||
- | Load kernel module now: | + | Mount device **read and write**: |
< | < | ||
- | kldload fusefs | + | mount -t ext2fs /dev/ada0p4 /mnt/ext2/ |
</ | </ | ||
- | Load module on boot in ''/ | + | Add entry to ''/ |
< | < | ||
- | kld_list=" | + | /dev/ada0p4 /mnt/ext2 ext2fs noauto,ro 0 0 |
</ | </ | ||
- | === ext2 / ext3 / ext4 === | + | Alternatively, |
+ | |||
+ | < | ||
+ | glabel status | grep ada0p4 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Fuse Filesystems ==== | ||
Install program: | Install program: | ||
< | < | ||
- | pkg install fusefs-ext2 | + | pkg install fusefs-libs |
</ | </ | ||
- | Mount device **read-only**: | + | Load kernel module now: |
< | < | ||
- | fuse-ext2 -o ro /dev/ada0p4 /mnt/ext2/ | + | kldload fusefs |
</ | </ | ||
- | Mount device **read and write**: | + | Load module on boot in ''/ |
< | < | ||
- | fuse-ext2 -o rw+ /dev/ada0p4 /mnt/ext2/ | + | kld_list=" |
</ | </ | ||
+ | |||
+ | |||
=== exFAT === | === exFAT === | ||
Line 85: | Line 102: | ||
< | < | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | === vfat === | ||
+ | |||
+ | vfat partitions are used for EFI installs, so will be mounting to ''/ | ||
+ | |||
+ | Mount partition: | ||
+ | |||
+ | < | ||
+ | mount -t msdos /dev/ada0p1 /efi | ||
+ | </ | ||
+ | |||
+ | Add entry in ''/ | ||
+ | |||
+ | < | ||
+ | /dev/ada0p1 /efi msdos rw 0 0 | ||
</ | </ |