Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 11:55:18 +0100
From:      Oliver Peter <hoschi@mouhaha.de>
To:        Chris Hill <chris@monochrome.org>
Cc:        freebsd-questions@freebsd.org, David Alanis <canito@dalan.us>
Subject:   Re: USB / umass / automount
Message-ID:  <20080123105517.GA76184@nemesis.frida.mouhaha.de>
In-Reply-To: <20080122190836.Q17945@tripel.monochrome.org>
References:  <20080122223318.GB25065@nemesis.frida.mouhaha.de> <20080122164813.mdeiowakg0cco0os@mail.dalan.us> <20080122190836.Q17945@tripel.monochrome.org>

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

--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 22, 2008 at 07:13:17PM -0500, Chris Hill wrote:
> On Tue, 22 Jan 2008, David Alanis wrote:
>> Quoting Oliver Peter <hoschi@mouhaha.de>:
>>> Hi,
>>> What is currently the best way to attach and detach umass-devices
>>> automatically?
>>> Bye
>>> Oliver
>>> --
>>> Oliver PETER, email: hoschi@mouhaha.de, ICQ# 113969174
>>> "Worker bees can leave.  Even drones can fly away.
>>>                         The Queen is their slave."
>>=20
>> Could you just edit your fstab to have:
>>=20
>> /dev/umass-device /umass /umass-type auto 0 0
>                                        ^^^^
> This will not make the auto-mounter daemon happen; rather, it will cause=
=20
> the system to try to mount /dev/umass-device at boot time. If the umass=
=20
> device is not connected at boot time, the system will need manual=20
> intervention in order to boot. Probably not what the OP wants. Besides,=
=20
> auto is the default anyway.

Thanks for your answers!

That's not exactly what I want - I thought about to plug e.g. an
usb-stick into my machine, let it mount via amd and after I detach the
device from my machine amd should umount the devices automatically.

Is this possible?

AFAIR bad things happen when a mounted usb-devices disappears...

--=20
Oliver PETER, email: hoschi@mouhaha.de, ICQ# 113969174
"Worker bees can leave.  Even drones can fly away.
                         The Queen is their slave."

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iEYEARECAAYFAkeXHRUACgkQ6LH/IUVtaI/ZlQCgrtpyFKQYR9iVKnxhyto7pek0
1AQAoKuJflYGnxoho2vH1dUDDFWpGbgH
=eD2g
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--



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