From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 10:55:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB07A16A46E for ; Wed, 23 Jan 2008 10:55:21 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from etain.frida.mouhaha.de (etain.frida.mouhaha.de [85.236.48.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6023A13C468 for ; Wed, 23 Jan 2008 10:55:21 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from localhost (etain.frida.mouhaha.de [85.236.48.54]) by etain.frida.mouhaha.de (Postfix) with ESMTP id CDBC64BB9A1; Wed, 23 Jan 2008 11:55:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from etain.frida.mouhaha.de ([85.236.48.54]) by localhost (etain.frida.mouhaha.de [85.236.48.54]) (amavisd-new, port 10024) with ESMTP id LrgAKE5GrtEA; Wed, 23 Jan 2008 11:55:18 +0100 (CET) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id 4D53B4BB99E; Wed, 23 Jan 2008 11:55:18 +0100 (CET) Date: Wed, 23 Jan 2008 11:55:18 +0100 From: Oliver Peter To: Chris Hill Message-ID: <20080123105517.GA76184@nemesis.frida.mouhaha.de> References: <20080122223318.GB25065@nemesis.frida.mouhaha.de> <20080122164813.mdeiowakg0cco0os@mail.dalan.us> <20080122190836.Q17945@tripel.monochrome.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20080122190836.Q17945@tripel.monochrome.org> X-Operating-System: FreeBSD 6.2-RELEASE-p10 i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-questions@freebsd.org, David Alanis Subject: Re: USB / umass / automount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 10:55:21 -0000 --/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 : >>> 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--