X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id A63E8DC373C for ; Tue, 24 Jul 2012 13:54:32 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7EF0F20907 for ; Tue, 24 Jul 2012 09:54:31 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 24 Jul 2012 09:54:31 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=8OY6Epgj8jpf1+KhhZOpjqQ8j+k=; b=duRPmj08+x82L8fEm1fZF8yJG0za 4cRJBwUIzj5DiX1jrGh0rlOqrB5iMMAEfUUsGkYrm53hsOYGo6UIc7/3ZA7Sm5k5 1X8vpiHYlzoD172GPWiu1qZ4guzBLVCVxYnDB/B2/ks92xd/MD4GpNB5Sdm593vh NDlgi6wkGNgJ8G0= X-Sasl-enc: S+/wZAeXOkWvQyOeyaiZe8wmSgmm3aYkBTE0Jp7vJN/o 1343138071 Received: from localhost (unknown [69.86.161.234]) by mail.messagingengine.com (Postfix) with ESMTPA id 4037B482508 for ; Tue, 24 Jul 2012 09:54:31 -0400 (EDT) Date: Tue, 24 Jul 2012 09:44:42 -0400 From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] Re: Auto(un)mount on an mdev-based multi-user system Message-ID: <20120724134442.GX2673@vaio.jimpryor.net> References: <20120723015857.GA1116@waltdnes.org> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120723015857.GA1116@waltdnes.org> User-Agent: Mutt/1.5.21 (2010-09-15) On Sun, Jul 22, 2012 at 09:58:57PM -0400, Walter Dnes wrote: > I've put together a few scripts that hook into mdev, and enable > automounting and unmounting of USB devices. There are examples on the > net of doing this for embedded devices, with one user, namely root. > Making it viable for a multi-user system, without selling out security, > was a challenge. E.g. one should really unmount manually before > removing a device that's been written, and I've provided a script for > that. It has been working for me for several weeks. The instructions > are at https://wiki.gentoo.org/wiki/Mdev/Automount_USB It'll remain > flagged as a "Work in progress" until I get more feedback. I haven't been able to try this yet, but thanks! for sharing it. -- Dubiousjim dubiousjim@gmail.com https://github.com/dubiousjim --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---