From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Bowler Date: Tue, 18 May 2010 19:23:00 +0000 Subject: Re: udev cdrom_id rules prevent unmounted CD from spinning down Message-Id: <20100518192300.GA30821@elliptictech.com> List-Id: References: <20100513153043.GA3966@elliptictech.com> In-Reply-To: <20100513153043.GA3966@elliptictech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 20:53 Tue 18 May , Kay Sievers wrote: > Nick, if you run: > udevadm monitor --property > and access the device that it generates an event. does it always > contain the line: > SDEV_MEDIA_CHANGE=1 > ? > That would surely be incorrect to send from the kernel, if it isn't a > media change. And we might check if we can suppress these. I ran the earlier blkid test with the drive idle, and yes, SDEV_MEDIA_CHANGE=1 appears 6 times in the output. -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)