[ENBD] enbd-2.4.32 and Supermount

Peter T. Breuer ptb at it.uc3m.es
Tue Jan 13 04:07:30 MST 2004


"Also sprach Peter T. Breuer:"
> Well, it's psuedo-random. Computers are deterministic. Recompile
> something and you'll get a different sequence.

Well, I see the problem, but am not sure of the best solution.

Can you change the "int x;" in enbd_media_changed() to
"static int x;" (or possibly volatile :-).  That probably stops the
pseudo-random behavior. Maybe the value of x needs inverting too.

Now to think of exactly what happens and why and how to stop it.


Peter


More information about the ENBD mailing list