[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wait for the boot device



md@Linux.IT (Marco d'Itri) writes:

> On Mar 22, Ferenc Wagner <wferi@niif.hu> wrote:
>
>> I really hoped you'd provide some pointers how to attack this best, or
>
> I have never used this feature. If you are not totally sure about what
> you are doing please refrain from dumping a probable grave bugs generator
> on me... :-)

I'm pretty sure it won't cause any harm, but will recheck with the
kernel guys.

>> if [ -d /sys/bus/scsi ]; then
>
> If you do this before udevadm settle, you have a race.

Thanks.  Then I guess I'll have to put this after, and do another
udevadm settle afterwards, just like in the separate script.
-- 
Feri.


Reply to: