From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sitsofe Wheeler Subject: Re: General question (scheduler) with SSDs? Date: Fri, 20 Feb 2009 13:12:09 +0000 Message-ID: <20090220131209.GA21446@silver.sucs.org> References: <20090220094356.GB26124@silver.sucs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org To: Kay Sievers Cc: Justin Piszcz , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org List-Id: linux-raid.ids On Fri, Feb 20, 2009 at 12:16:42PM +0100, Kay Sievers wrote: > > Udev can write to the attribute itself. This should be all you need: > SUSBSYTEM=="block", ATTRS{model}=="ASUS-PHISON *", ATTR{queue/rotational}="1" I tried SUBSYSTEM=="block", ATTRS{model}=="ASUS-PHISON *", ATTR{queue/rotational}="0" but udevtest /sys/block/sda/ doesn't list it as firing (udev 117-8)... -- Sitsofe | http://sucs.org/~sits/