Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
freebsd_filesystems [2025/07/21 07:11] stevefreebsd_filesystems [2025/07/21 08:17] (current) steve
Line 1: Line 1:
 ====== FreeBSD Filesystems ====== ====== FreeBSD Filesystems ======
  
- * [[FreeBSD]]+  * [[FreeBSD]] 
 +  * [[zfs]] 
 + 
 +In each case here, by default, the examples mount the filesystems as read-only.
  
 ==== DVDs ==== ==== DVDs ====
Line 17: Line 20:
 </code> </code>
  
-==== Fuse Filesystems ====+==== ext2 / ext3 / ext4 ====
  
-Install program:+FreeBSD can mount extX filesystems natively. 
 + 
 +Mount device **read-only**:
  
 <code> <code>
-pkg install fusefs-libs+mount -t ext2fs -o ro /dev/ada0p4 /mnt/ext2/
 </code> </code>
  
-Load kernel module now:+Mount device **read and write**:
  
 <code> <code>
-kldload fusefs+mount -t ext2fs /dev/ada0p4 /mnt/ext2/
 </code> </code>
  
-Load module on boot in ''/etc/rc.conf'':+Add entry to ''/etc/fstab'':
  
 <code> <code>
-kld_list="fusefs"+/dev/ada0p4 /mnt/ext2 ext2fs noauto,ro 0 0
 </code> </code>
  
-=== ext2 / ext3 / ext4 === +Alternatively, you can mount the drive in fstab by using the UUID:
- +
-Install program:+
  
 <code> <code>
-pkg install fusefs-ext2+glabel status | grep ada0p4
 </code> </code>
- 
-Mount device **read-only**: 
  
 <code> <code>
-fuse-ext2 -o ro /dev/ada0p4 /mnt/ext2/+/dev/gptid/a81060a5-e5a7-44d2-bc00-75ff7dadab1d /mnt/ext2 ext2fs noauto,ro 0 0
 </code> </code>
  
-Mount device **read and write**:+==== Fuse Filesystems ==== 
 + 
 +Install program:
  
 <code> <code>
-fuse-ext2 -o rw+ /dev/ada0p4 /mnt/ext2/+pkg install fusefs-libs
 </code> </code>
  
-Add entry to ''/etc/fstab'':+Load kernel module now:
  
 <code> <code>
-/dev/ada0p4 /mnt/ext2 ext2 rw+,noauto,mountprog=/usr/local/bin/fuse-ext2 0 0+kldload fusefs
 </code> </code>
  
-Alternatively, you can mount the drive in fstab by using the UUID:+Load module on boot in ''/etc/rc.conf'':
  
 <code> <code>
-glabel status | grep ada0p4+kld_list="fusefs"
 </code> </code>
  
-<code> +
-/dev/gptid/a81060a5-e5a7-44d2-bc00-75ff7dadab1d /mnt/ext2 ext2 rw+,noauto,mountprog=/usr/local/bin/fuse-ext2 0 0 +
-</code>+
  
 === exFAT === === exFAT ===

Navigation
QR Code
QR Code freebsd_filesystems (generated for current page)