devd based AUTOMOUNTER

Fernando Apesteguía fernando.apesteguia at gmail.com
Mon Feb 20 18:56:41 UTC 2012


On Mon, Feb 20, 2012 at 2:27 PM, vermaden <vermaden at interia.pl> wrote:

> written by ${ME} ...
>
> > First BUG: (not fixed yet, but workaround already is working)
> >
> > TEST/BUG/CASE:
> > Plug in FAT32 and NTFS drives at the same time, when FAT32 device
> > will be detected first, it will get mounted and the NTFS drive will be
> > mounted TWICE, so I added > __check_already_mounted function
> > to check if it is not already mounted.
>
> This BUG is fixed, I was in wrong assumption, that the script would
> be only executed for /dev/da0 but it was executed for every
> device/partition node that appeared separately, like /dev/da0,
> /dev/da0s1, /dev/da0s2 etc.
>
> Currently there is no knows bugs, but the prepared earlier
> 'workaround functions' remain just in case.
>
> As I written before its now available here:
> https://github.com/vermaden/automount
>

What a nice piece of work.

I just downloaded it and try it on a FreeBSD 9.0-RELEASE with custom
kernel. It works like a charm. I tried three different USB devices without
noticing any problems (and I was very impolite when I unplugged them).

Thanks for this script.


> Regards,
> vermaden
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list