From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arioch Date: Wed, 17 Aug 2005 08:07:18 +0000 Subject: Re: +rule: query device inode by Major and Minor - am i inventing Message-Id: List-Id: References: <4300318B.8040505@nm.ru> In-Reply-To: <4300318B.8040505@nm.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org Greg KH пишет: >>You see, it seems character and block devices with same major|minor can >>easily co-exist! > > > Of course they can. For further examples, see Documentation/devices.txt Thanks. I was already pointed too. > for all of the reserved major/minor numbers for character and block > devices. Remember, character and block devices are totally separate > "namespaces". The major/minor number is only unique within a character, > or a block "namespace". 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 ? 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 :-( ------------------------------------------------------- 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