Thursday, December 7, 2017

How to use USB device in FreeBSD


1. vi /etc/devfs.rules
 [localrules=5]
 add path 'da*' mode 0660 group operator

2. vi /etc/rc.conf
 devfs_system_ruleset="localrules"

3. vi /etc/sysctl.conf
 vfs.usermount=1

4. #sysctl vfs.usermount=1

5. #mkdir /usb

6. #chown root:operator /usb

7. insert USB device

8. #ls /dev/da*

9. #mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /usb



No comments:

Post a Comment

How to upgrade G4520G6 (B7149) Ffirmware

 G4520G6 firmware process Web GUI mode: CPLD -> BMC -> BIOS BMC Out of band (Redfish/BMC Web) : CPLD: *.jed.tar (System need power off...