Date: Mon, 27 Feb 2012 22:06:05 +0200 From: Ivan Klymenko <fidaj@ukr.net> To: vermaden <vermaden@interia.pl> Cc: freebsd-stable@freebsd.org, lars.engels@0x20.net, Selasky <hselasky@c2i.net>, Hans, smithi@nimnet.asn.au Subject: Re: devd based AUTOMOUNTER Message-ID: <20120227220605.57dc1639@nonamehost.> In-Reply-To: <ztlcngurasjmdlkymcau@dovo> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120227220605.57dc1639>