Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2021 21:05:07 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        joe mcguckin <joe@via.net>
Cc:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: Auto mounting usb media?
Message-ID:  <CANCZdfqrWDGcb_ese%2BMRPuEUOwDGQaX45LUKRie5DxWZdXwKMQ@mail.gmail.com>
In-Reply-To: <F66F7E9B-8206-442D-ABF3-9B02EAB76A2A@via.net>
References:  <F66F7E9B-8206-442D-ABF3-9B02EAB76A2A@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 10, 2021, 8:35 PM joe mcguckin <joe@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@via.net
> 650-207-0372 cell
> 650-213-1302 office
> 650-969-2124 fax
>
>
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqrWDGcb_ese%2BMRPuEUOwDGQaX45LUKRie5DxWZdXwKMQ>