From owner-freebsd-stable@freebsd.org Sun May 20 21:53:11 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52DFEEF13A0 for ; Sun, 20 May 2018 21:53:11 +0000 (UTC) (envelope-from ebfe@inbox.ru) Received: from fallback.mail.ru (fallback16.m.smailru.net [94.100.177.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C04A472C75 for ; Sun, 20 May 2018 21:53:09 +0000 (UTC) (envelope-from ebfe@inbox.ru) Received: from [10.161.64.51] (port=54946 helo=smtp43.i.mail.ru) by fallback16.i with esmtp (envelope-from ) id 1fKWGE-0003v0-00 for freebsd-stable@freebsd.org; Mon, 21 May 2018 00:53:02 +0300 Received: by smtp43.i.mail.ru with esmtpa (envelope-from ) id 1fKWFu-00045w-BA; Mon, 21 May 2018 00:52:42 +0300 Date: Sun, 20 May 2018 23:52:30 +0200 From: EBFE To: Harry Schmalzbauer Cc: freebsd-stable@freebsd.org Subject: Re: removable storage usability, devd, hald and X11-desktop in general Message-ID: <20180520235230.70bab894@inbox.ru> In-Reply-To: <5beffba2-d2d5-689a-9cb1-054379f55adf@omnilan.de> References: <5beffba2-d2d5-689a-9cb1-054379f55adf@omnilan.de> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-7FA49CB5: 0D63561A33F958A5D2DE6C381F85D06CBDDA336542B197C9E273164564EBE5A4725E5C173C3A84C365803FFBBC59A15BAFEB844BE267605E157381330E1A1978C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F2AF38021CC9F462D574AF45C6390F7469DAA53EE0834AAEE X-Mailru-Sender: DB26A00C85DA0CD9BB9C3CB630531543BB591B94D4BA3840424ED8A50A304931491BAC1A6E78AE72D80BE8602B6BCE943DDE9B364B0DF2898D3420632F3BB6E4091DED475A21ADD3AE208404248635DF X-Mras: OK X-Mras: OK X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 21:53:11 -0000 On Sat, 19 May 2018 20:35:59 +0200 Harry Schmalzbauer wrote: Hi, > Biggest question: How are useres expected to handle removable media? >=20 > I'm a happy user of autofs(5) in several environments (mostly for NFS=20 > mounts), but I'm not aware of any helper tool which enables _users_ > to unmount before pulling the UFD. > I've heard of PC-BSD and Lumina (see later why I haven't really tried=20 > out the modern "light" desktops) and I think I remember having read > they utilize devd(8).=C2=A0 But again, how to unmount? There is a nice little daemon: sysutils/dsbmd=20 (see https://freeshell.de/~mk/projects/dsbmd.html and /usr/local/etc/dsbmd.conf.sample) with a simple GUI sysutils/dsbmc and cli (sysutils/dsbmc-cli) clients. It supports automounting using devd and/or polling and automatic or manual unmounting.=20