Bug#294404: Bug#273182: a possible fix/workaround

2005-05-22 Thread Marco d'Itri
On May 22, Erik van Konijnenburg <[EMAIL PROTECTED]> wrote: > If you have to pick just one device, use /dev/md15. That's generated by > MAKEDEV > but not terribly likely to be in use. The idea was that MAKEDEV should not be called if all needed devices have already been created by udev. OTOH now

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-22 Thread Erik van Konijnenburg
On Sun, May 22, 2005 at 12:06:27PM +0200, Marco d'Itri wrote: > On May 22, martin f krafft <[EMAIL PROTECTED]> wrote: > > > Erik said that if initrd brings up /dev/md0, partitions from other > > software RAID devices (e.g. /dev/md7) cannot be brought up since the > > above code skips the MAKEDEV c

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-22 Thread Marco d'Itri
On May 22, martin f krafft <[EMAIL PROTECTED]> wrote: > Erik said that if initrd brings up /dev/md0, partitions from other > software RAID devices (e.g. /dev/md7) cannot be brought up since the > above code skips the MAKEDEV call in the case of presence of > /dev/md0. I do not know how the initrd

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-22 Thread martin f krafft
Marco, I CC'd you on this because it's about your proposed solution to #294404, which works very well. However, Erik has pointed out a potential problem. Based on your suggestion, mdadm now does the following in S25mdadm-raid: if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-22 Thread martin f krafft
also sprach Erik van Konijnenburg <[EMAIL PROTECTED]> [2005.05.21.2310 +0200]: > The reworked patch is in wishlist #310126, > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310126 You rock! Thanks a lot for your help! -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian d

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-21 Thread Erik van Konijnenburg
The reworked patch is in wishlist #310126, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310126 Regards, Erik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-21 Thread martin f krafft
also sprach Erik van Konijnenburg <[EMAIL PROTECTED]> [2005.05.21.2132 +0200]: > Quoting from the patch you mailed earlier today: > > + if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then > +echo -n "Creating raid device nodes: " > +cd /dev && WRITE_ON_UDEV=1 ./MAK

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-21 Thread Erik van Konijnenburg
On Sat, May 21, 2005 at 08:58:46PM +0200, martin f krafft wrote: > (taking unrelated bugs out of the loop.) > > also sprach Erik van Konijnenburg <[EMAIL PROTECTED]> [2005.05.21.1957 +0200]: > > * at S40 or so, you come along, see that /dev/md0 exists, and decide > > not to do MAKEDEV > > No, I

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-21 Thread martin f krafft
(taking unrelated bugs out of the loop.) also sprach Erik van Konijnenburg <[EMAIL PROTECTED]> [2005.05.21.1957 +0200]: > * at S40 or so, you come along, see that /dev/md0 exists, and decide > not to do MAKEDEV No, I come along at S25 and I do not give a flying food for whether /dev/md0 exists

Bug#294404: Bug#273182: a possible fix/workaround

2005-05-21 Thread martin f krafft
also sprach Erik van Konijnenburg <[EMAIL PROTECTED]> [2005.05.21.1917 +0200]: > > - echo "Starting raid devices: " > > + if [ -d /dev/.udevdb -a ! -e /dev/md0 -a ! -e /dev/md/0 ]; then > > +echo -n "Creating raid device nodes: " > > +cd /dev && WRITE_ON_UDEV=1 ./MAKEDEV