Auto mounting usb media?

Warner Losh imp at bsdimp.com
Thu Mar 11 04:05:19 UTC 2021


On Wed, Mar 10, 2021, 8:35 PM joe mcguckin <joe at via.net> wrote:

> Can freebsd automatically mount usb media with filesystems? Like the way
> OS X auto mounts flash keys, usb drives and
> various flash based media (CF cards, etc).
>

Yes. The kernel generates GEOM events after geom is done tasting the
device. You can use this to drive a script that will mount things.

I kinda think you need a fuse module to read exfat, speaking of other mail,
but it's been a while. There's a port/pkg for whatever you need:

exfat-utils-1.3.0              Utilities to create, check, label and dump
exFAT filesystem
fusefs-exfat-1.3.0             Full-featured exFAT FS implementation as a
FUSE module

Warner



Thanks,
>
> Joe
>
>
> Joe McGuckin
> ViaNet Communications
>
> joe at via.net
> 650-207-0372 cell
> 650-213-1302 office
> 650-969-2124 fax
>
>
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


More information about the freebsd-fs mailing list