МАБУ

Language:
ru us

FreeBSD auto mount flash drives without Hal


 How to mount a USB flash drive automatically in FreeBSD without using the hal daemon.

 We will use devd

 Set port automount

 cd / usr / ports / sysutils / automount

 make install clean

 The automount.conf file is located in

 /usr/local/etc/automount.conf to look like this:

 USERUMOUNT = YES

 FM = "pcmanfm --browser --no-desktop"

 # USER = vermaden

 # ENCODING = pl_PL.ISO8859-2

 CODEPAGE = cp866

 # Personal Settings

 USER = user

 ENCODING = ru_RU.UTF-8

 REMOVEDIRS = YES

 ATIME = NO

 where user is your username

 If you need to mount NTFS flash drives, then install the fusefs-ntfs port

 cd / usr / ports / sysutils / fusefs-ntfs

 make install clean

 You need to load the kernel module by changing the loader.conf configuration file

 i.e

 add this line

 "fuse_load =" YES "

 at

 /boot/loader.conf

 That's all.


Loading Conversation