Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 20:17:23 +0100
From:      vermaden <vermaden@interia.pl>
To:        Freddie Cash <fjwcash@gmail.com>, fernando.apesteguia@gmail.com
Cc:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: devd based AUTOMOUNTER
Message-ID:  <fpbohvzfmnntfaltecvt@dhob>
In-Reply-To: <CAOjFWZ4B2xhsUCpRfZS1f-EH8KqrY_jNitX%2Bn%2BEM=mXRcKDXeA@mail.gmail.com>
References:  <hkubftdrahxmtuzcfqzh@ziad> <4F3EE186.4020801@gmail.com> <uhhupehcnrebtwjfedhg@xlkc> <201202181409.08859.hselasky@c2i.net> <evbvqmovseenzzafkvdy@cufm> <dusvifyxcdqegubftcgz@lvhf> <CAOjFWZ4B2xhsUCpRfZS1f-EH8KqrY_jNitX%2Bn%2BEM=mXRcKDXeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I removed the state_lock and stat_unlock mechanisms as they
appeared to be not needed, I have shufled with 3 drives all
the time and the 'integrity' has not been lost, at it was a lot
faster, because the lock always had to wait for the 'slowest'
drive (in term of initializing the device, like USB hard drive).

I simplified the 'attach' section a lot, now each filesystem
contains only check/fsck (if possible), mount and log info.

I also simplified and improved the 'detach' section a little.

I have added an option to automatically launch the set-up
in config file manager (Yes, like in Windows ;p).=20

These are options that I currently successfully use for
NAUTILUS file manager, You need to set-up all three of
them to make it work.

| POPUP=3DYES
| FM=3D"nautilus --browser --no-desktop"
| USER=3Dvermaden

My whole config looks like that now:

| USERUMOUNT=3DYES
| POPUP=3DYES
| FM=3D"nautilus --browser --no-desktop"
| USER=3Dvermaden
| ENCODING=3Dpl_PL.ISO8859-2
| CODEPAGE=3Dcp852

All latest updates are available at GITHUB:
https://github.com/vermaden/automount



written by Freddie Cash ...

> Konqueror (KDE 3.x and 4.x) and Dolphin (KDE 4.x mainly, but I
> believe there's a KDE 3.x version) also show automatically
> mounted and removable media in the sidebar.  Works nicely
> with HAL.  Haven't tested your script yet, but am intrigued by it.
> Will see if I can test it sometime this week.
>=20
> Native solutions are so much nicer than ported ones.  :)

Thanks, looking forward to hear some more input about it from You ;)



written by Fernando Apestegu=C3=ADa ...

> What a nice piece of work.

Thanks mate.

> 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).
>=20
> Thanks for this script.

Good to know, try the latest new version from repo, should be even better ;=
)

Regards,
vermaden



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