From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 18 Aug 2005 17:59:26 +0000 Subject: Re: +rule: query device inode by Major and Minor - am i inventing brand new bycicle ? Message-Id: <20050818175926.GA23337@kroah.com> List-Id: References: <4300318B.8040505@nm.ru> In-Reply-To: <4300318B.8040505@nm.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Aug 17, 2005 at 12:07:18PM +0400, Arioch wrote: > But now, when UDEV seems toconfigure network devices as well, how can i > distinguish them ? > SUBSYSTEM="block" - that is to tell block devices. > But what should tell character devices from, say, network interfaces ? Perhaps SUBSYSTEM="net"? :) > eth0 should have no major and minor, but trying to catch it makes rule > more and more complex. > Alas, i don't know where to et list of subsystems :-( 'ls /sys/class/' is a good place to start (becides the block subsystem, which is still in /sys/block/ due to a whole bunch of kernel coding reasons...) Hope this helps. greg k-h ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel