Solved FreeBSD-13.1-RELEASE - Having difficulties with USB Mounting (EXT4) using fusefs-lkl

Happy Winter Everyone!

I have notes from my FreeBSD 12 RELEASE binder and I was able to use this command and manage ext4 files with my ZFS File Host FreeBSD-RELEASE laptop in the past.

Package/Port Installed:
Code:
# pkg install fusefs-lkl

Then load the kernel module "fusefs":
Code:
# kldload fusefs

Then go to /mnt and create a new directory for Mounting USB; in this case "GORILLA" as I have a Gorilla Flash Drive with EXT4 File System:
Code:
/mnt/GORILLA #

Then I issue the command ...
Code:
lklfuse -o type=ext4 /dev/da0s1 /mnt/GORILLA

Then when I was finished I would issue...
Code:
# umount /mnt/GORILLA

Strangely on the last several FreeBSD 13-RELEASE installations I have ran into a problem where it successfully lklfuse's ... and then once I do a change directory into /mnt/GORILLA ... it hangs... just nothing happens with flashing cursor in Terminator.

This is what is current at the moment...
Code:
root@workstation:/mnt # pkg install fusefs-lkl
Updating FreeBSD repository catalogue...
Fetching packagesite.pkg: 100%    6 MiB   3.4MB/s    00:02    
Processing entries: 100%
FreeBSD repository update completed. 32320 packages processed.
All repositories are up to date.
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
root@workstation:/mnt # kldload fusefs
root@workstation:/mnt # lklfuse -o type=ext4 /dev/da0s1 /mnt/GORILLA
root@workstation:/mnt # cd /mnt/GORILLA

Any tips would be greatly appreciated! Thank you everyone!
 
% pkg search fusefs-ext2
fusefs-ext2-0.0.10_3 FUSE module to mount ext2, ext3 and ext4 with read
write support

# pkg install fusefs-ext2

# lklfuse -o type=ext4,rw /dev/da0S1 /mnt/GORILLA
 
FreeBSD has a native file type, ext2fs, for mounting Linux drives. It works well with the ext4 file type, and likely just as well with ext2.

Similar topics have been discussed here before: https://forums.freebsd.org/tags/ext2fs/

Here is a link to the manual page: ext2fs()

Here is how I mount my ext4 type partition in /etc/fstab:
Code:
/dev/ada0p9    /share        ext2fs    rw,failok    0    2
 
Isn't the fuse package preferred for filesystems that are actually ext4 (as opposed to 2) over the in-kernel ext2?

I thought the fuse one understands more of the failsafe features of ext4.
 
FreeBSD has a native file type, ext2fs, for mounting Linux drives. It works well with the ext4 file type, and likely just as well with ext2.

Similar topics have been discussed here before: https://forums.freebsd.org/tags/ext2fs/

Here is a link to the manual page: ext2fs()

Here is how I mount my ext4 type partition in /etc/fstab:
Code:
/dev/ada0p9    /share        ext2fs    rw,failok    0    2
Thank you all very much!

Vull,

This worked brilliantly for me as well! I wonder if there is a way to do this with exFAT also!

Solved! Much obliged! :)
 
This worked brilliantly for me as well! I wonder if there is a way to do this with exFAT also!

sysutils/fusefs-exfat
Full-featured exFAT FS implementation as a FUSE module

sysutils/exfat-utils
Utilities to create, check, label and dump exFAT filesystem

Recently added these to copy an ISO file to a Ventoy USB stick's main exfat partition to update a Thinkpad BIOS. Worked well.
 
Back
Top