From mboxrd@z Thu Jan 1 00:00:00 1970 From: John L Fjellstad Date: Wed, 23 Jun 2004 20:46:56 +0000 Subject: Re: udev and mkraid Message-Id: <20040623204656.GA3312@fjellstad.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="TB36FDmn/VVEgNH/" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 23, 2004 at 05:59:08AM -0700, Kevin P. Fleming wrote: > that's not happening on your system, it would be interesting to find out= =20 > why. It certainly happens on mine, and I rely on that behavior to boot=20 > my machines. I just upgraded to 2.6.7, but this was true for 2.6.5 too. I'm using Linus' original kernel... On my server, which has RAID1, I have the raid code compiled into the kernel. AFAIK, it gets created by udev. Using udevinfo, I can see that md0 is a /block/md0, with these SYSFS information: SYSFS{dev}=3D"9:0" SYSFS{range}=3D"1" SYSFS{size}=3D"690560" SYSFS{stat}=3D" 1636 0 34472 0 600583 0 4804664 0 0 0 0" For md1, I see these information: looking at class device '/sys/block/md1': SYSFS{dev}=3D"9:1" SYSFS{range}=3D"1" SYSFS{size}=3D"267257088" SYSFS{stat}=3D" 20071 0 261188 0 458504 0 3676670 0 0 0 0" So the information does look like it is exported to sysfs. On the workstation, I don't have raid code compiled in, and get no mdX nodes created. --=20 John L. Fjellstad web: http://www.fjellstad.org/ Quis custodiet ipsos custodes --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iEYEARECAAYFAkDZ7EAACgkQkz0vhQtHHRjfSgCghBPxBGv6v/tkH19D5xHBR4rQ 238AnRHLibnAkotbnoSC03RWFGEDGaZ4 =5SoH -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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