Date: Tue, 28 Feb 2012 23:04:23 +0100 From: vermaden <vermaden@interia.pl> To: Andriy Gapon <avg@FreeBSD.org> Cc: fidaj@ukr.net, freebsd-stable@FreeBSD.org, lars.engels@0x20.net, Hans Petter Selasky <hselasky@c2i.net>, Alexander Leidinger <Alexander@Leidinger.net>, smithi@nimnet.asn.au Subject: Re: devd based AUTOMOUNTER Message-ID: <qdhsbowuuhzdjuvpiakq@eioe> In-Reply-To: <4F4D403E.2030703@FreeBSD.org> References: <hkubftdrahxmtuzcfqzh@ziad> <4F3EE186.4020801@gmail.com> <uhhupehcnrebtwjfedhg@xlkc> <201202181409.08859.hselasky@c2i.net> <evbvqmovseenzzafkvdy@cufm> <dusvifyxcdqegubftcgz@lvhf> <20120226203949.H89643@sola.nimnet.asn.au> <CAN6yY1uYMfWqkbXLHXuS-bTKes7T=YMS%2BfBX8_%2BXtx9-rBFmyw@mail.gmail.com> <ztlcngurasjmdlkymcau@dovo> <CAN6yY1sfFH%2B4pBmmSmREG5xO1nF8iCzPwXKuXAOG3rBrsO62bg@mail.gmail.com> <kovckjfzfftyzqjrypqv@khtj> <20120228162636.Horde.JgORKJjmRSRPTPIsGKfo0uA@webmail.leidinger.net> <4F4D403E.2030703@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Andriy Gapon" <avg@FreeBSD.org> said: > on 28/02/2012 17:26 Alexander Leidinger said the following: > > The kernel does not poll for CD changes, and the people guarding the re= levant CD > > code where against something like this in the kernel everytime this cam= e up in > > the past. So no devd event for this. >=20 > My impression was that lately people were asking for it (and nobody actua= lly > "guarded" the code), but there is no good design on how to do it. The mentioned earlier sysctl OID changes whenever CD is in the drive or not, something changes that ... so adding appreciate events like "MEDIA INSERTED" and "MEDIA REMOVED" to cd* class should be enought to handle them and mount/umount the medium with script like mine with appreciate devd(8) config. Regards, vermaden ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?qdhsbowuuhzdjuvpiakq>