From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Date: Thu, 11 Aug 2005 19:21:15 +0000 Subject: Re: udev Message-Id: <42FBA52B.1020501@ipunwired.com> List-Id: References: <20050811182850.GD15803@kroah.com> In-Reply-To: <20050811182850.GD15803@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org running udev on each disk gave me [root@localhost udev-065]# udevtest /sys/block/sdb version 039 looking at '/block/sdb' configured rule in '/etc/udev/rules.d/10-udev.rules' at line 2 applied, added symlink 'raid11' configured rule in '/etc/udev/rules.d/10-udev.rules' at line 2 applied, 'sdb' becomes '%k' creating device node '/dev/sdb', major = '8', minor = '16', mode = '060660', uid = '0', gid = '6' for all the disk that were present. I removed sda before running the test. The sda drive returns looking at /block/sda and dosn't go any further. thanks Mike Greg KH wrote: > On Thu, Aug 11, 2005 at 02:29:35PM -0400, Mike wrote: > >>hey; >> >>I've setup Raid1 on two SATA drives on my FC3 system. as well there are >>several other SATA drives in the system that are not in the raid. I >>wanted to make static mappings to the /dev devices. I've created a rules >>file and according to the logs its reading the rules files I created. >> >>... >>Aug 09 21:34:42 localhost udev[10536]: configured rule in >>'/etc/udev/rules.d/10-udev.rules' at line 4 applied, 'sdd' becomes '%k' >>Aug 09 21:34:42 localhost udev[10536]: creating device node '/dev/sdd' >>... >> >>but if I remove on of the drives from the system. It will read the rules >>file only up to where the non present drive is then switch to the >>defaults which removes the satic maps and breaks the raid. > > > What does running udevtest show for that situation? > > thanks, > > 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