From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 20:06:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 939B2106564A for ; Mon, 27 Feb 2012 20:06:34 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 089AC8FC12 for ; Mon, 27 Feb 2012 20:06:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=cAsFTh73g/SZKpNDNjRxK47WP1k7kzBKRBBNioL+bXA=; b=ODrZvELTBlAAdMyF0b/fcmepCwJIgnJIGk+kVLYT4xR5vpVWt139tZeF1JiatI1ZK2rvCNj5PYBnrguhDFgkiRMreXH46DXM13AzxyIB5i6qtqUJl3QUTenpVPpok6dJ5V9TnV/dLcrT+LrV/au6ukDfyu9NzxUym//OGjxRgOI=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm1.ukr.net with esmtpsa ID 1S26pi-0006Rj-Lt ; Mon, 27 Feb 2012 22:06:06 +0200 Date: Mon, 27 Feb 2012 22:06:05 +0200 From: Ivan Klymenko To: vermaden Message-ID: <20120227220605.57dc1639@nonamehost.> In-Reply-To: References: <4F3EE186.4020801@gmail.com> <201202181409.08859.hselasky@c2i.net> <20120226203949.H89643@sola.nimnet.asn.au> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, lars.engels@0x20.net, Selasky , Hans, smithi@nimnet.asn.au Subject: Re: devd based AUTOMOUNTER X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 20:06:34 -0000 > Hi, > > I have been pretty busy lately because of boring things > work/life stuff, but here is the new version, with more > options of course and some bugs fixed, it now displays > help when triggered as 'automount --help', at least a > substitute of a man page ;) > > I have a quastion, which devd(8) events should I 'catch' > to enable CD automount? Is there an event for a CD being > entered into the CD-ROM at devd(8)? > Unfortunately, I spent a few days that would have to understand how it is possible to detect the inserted CD-ROM with devd; but alas - the only thing that detects changes in the drive CD-ROM - a : sysctl kern.geom.conftxt before inserting the disc: kern.geom.conftxt: 0 DISK cd0 0 2048 hd 0 sc 0 ... after inserting the disc: kern.geom.conftxt: 0 DISK cd0 4700372992 2048 hd 0 sc 0 ...