I'm following the 17.4 Handbook guide for USBs. I understand about /etc/devfs.rules and /etc/rc.conf requirements. I add
But when I apply
So I tried just setting rc.conf to one of the predefined rulesets "jail", for example. Same deal. So I looked in /etc/defaults/rc.conf, and saw an option for
While the rest of my FreeBSD experience has been quite good, mounting and automounting USBs has been awful, and consistently awful (I've reinstalled a few times). The documentation seems to be incomplete, and apparently just wrong. Finding out a straightforward way to mount ext4 USBs is like pulling teeth. Yeah I get it now,
I'm sorry if I sound angry or frustrated. But while the other snags I've hit were user error or just having to learn the system's intricacies, I'm pretty sure the warnings being thrown here aren't due to lack of following the handbook or reasonable attempted troubleshooting. I've read perhaps a dozen different manpages on this stuff with very little progress. YES, I have been reading/searching through forum posts. NO, very little has been useful expect this one: https://forums.freebsd.org/threads/...g-with-zfs-root-freebsd-12.70401/#post-424036
devfsrules_localrules=5]
, and then in rc.conf devfs_system_ruleset="localrules"
. I do ALL of the other stuff as well. vfs.usermount=1
. Double, triple, quadruple check. Reboot...But when I apply
service devfs restart
I get the following:
Code:
/etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset number
/etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset
So I tried just setting rc.conf to one of the predefined rulesets "jail", for example. Same deal. So I looked in /etc/defaults/rc.conf, and saw an option for
devfs_set_rulesets=""
, so I tried adding devfs_set_rulesets=""
to a few different values, each time restarting devfs. Values: "localrules" "5" "/etc/devfs.rules" "/etc/fstab" and each time it did nothing, except for sometimes throw additional errors. I tried enabling debugging. Nothing useful, it loads all the rules, and then the exact same 2 warnings at the bottom. While the rest of my FreeBSD experience has been quite good, mounting and automounting USBs has been awful, and consistently awful (I've reinstalled a few times). The documentation seems to be incomplete, and apparently just wrong. Finding out a straightforward way to mount ext4 USBs is like pulling teeth. Yeah I get it now,
pkg install fusefs-lkl
fuse_load="YES"
, because the inbuilt function in the kernel doesn't work well. There's like 5 different things going on that I can't really make sense of ... autofs automount automountd autoumount lklfuse. COULD SOMEONE POSSIBLY UPDATE THE HANDBOOK??I'm sorry if I sound angry or frustrated. But while the other snags I've hit were user error or just having to learn the system's intricacies, I'm pretty sure the warnings being thrown here aren't due to lack of following the handbook or reasonable attempted troubleshooting. I've read perhaps a dozen different manpages on this stuff with very little progress. YES, I have been reading/searching through forum posts. NO, very little has been useful expect this one: https://forums.freebsd.org/threads/...g-with-zfs-root-freebsd-12.70401/#post-424036
Last edited by a moderator: