From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arioch Date: Tue, 16 Aug 2005 18:50:14 +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 Kay Sievers пишет: >>And something strange happened to /dev/pty/* - minors like 16? were >>truncated to last number in %m :-( > > No idea! Better get rid of the dead devfs scheme. :) > That scheme has its advantages. For example, kppp doesn't know my modem and i need to make symlink /dev/modem -> /dev/ttySLM0 after each boot. If all modems could be found in /dev/dialup, then there was no this trouble ;) And at least that should not affect %m value :-P > >>BTW, since udevtest needs to be tolf of block/character device type, >>does it mean, that sysfs does not export this info ? > > > DEVPATH=/block/* are block nodes, DEVPATH=/class/* are char nodes. > That information is only in the path of the device not in the "dev" file. If that is so simple, i wonder why udevtest requests subsystem as a parameter? I'm looking at article "How to write udev rules" v.0.6 - and there udevtest is runned with the only param. ------------------------------------------------------- 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