Mailinglist Archive: yast-devel (61 mails)

< Previous Next >
[yast-devel] Re: [Research] Call for ideas: parted vs. udev-events vs. kernel


maily FYI because I don't know a solution

On May 25 17:06 Stefan Hundhammer wrote (excerpt):
Every once in a while, device nodes (in particular for partitions)
are not present after a seemingly harmless call like "parted -l",
not even after calling "udevadm settle".

In the Relax-and-Recover (rear) installer
we have the same kind of problems, see

And FYI a somehow related issue is

Brainstorming approach #1: Suspend udev

Something like this was tried in the rear installer, see
and it had interesting complicated bad effects, see
which lead to

In short:
For non-udev experts:
Don't touch how udev works ;-)

Brainstorming approach #3: Tactical sleep

I also tried to avoid that but meanwhile I think
it is needed (as some kind of fallback) in addition
to other stuff, cf.
Perhaps what is needed to make it really work reilably is

- "udevadm settle" plus
- waiting for the actual "thingy" plus
- retries of commands that need the actual "thingy"

where "waiting" and "retries" implicitly mean to sleep.

Kind Regards
Johannes Meixner
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >