Actually:

if [ -e /dev/.udevdb/ ]; then
  if [ ! -e /dev/md/0 -a ! -e /dev/md0 ]; then
    cd /dev && WRITE_ON_UDEV=1 ./MAKEDEV md
  fi
fi

<Md> vorlon: I have been pointed at #294404: testing for presence of 
     /dev/.static/dev is broken, and there are probably good reasons to not 
     move the init script from its precedent position
<vorlon> Md: indeed, there are good reasons to leave it at its previous 
         position, and it should be moved back.  I haven't uploaded to do that 
         yet, because I haven't found a solution to the underlying problem.
<Md> vorlon: I have not checked the details of your patch, but you may want to 
     use something like [ -e /dev/.udevdb/ ] && cd /dev && WRITE_ON_UDEV=1 
     ./MAKEDEV md
<vorlon> Md: ah.  That seems inelegant, but I guess it will do the trick now 
         that I know about it. :)  Any chance you can send that hint to the BTS?

-- 
ciao,
Marco


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to