[Vserver] Dummy device creation without race states

2004-03-30 Thread Liam Helmer
The creation of the dummy devices is ugly and has races ('dummy0' is used by every 'vserver ... start' instance which conflicts with the parallel vserver startup). 'dummy' would be ideally but is not supported by the kernel. I've attached what I was thinking, roughly. Yes, this is part of a

Re: [Vserver] Dummy device creation without race states

2004-03-30 Thread Herbert Poetzl
On Wed, Mar 31, 2004 at 01:41:14AM +, Liam Helmer wrote: > The creation of the dummy devices is ugly and has races ('dummy0' is > used by every 'vserver ... start' instance which conflicts with the > parallel vserver startup). 'dummy' would be ideally but is not > supported by the kernel. > >

Re: [Vserver] Dummy device creation without race states

2004-03-30 Thread Liam Helmer
On Wed, 2004-03-31 at 05:11, Herbert Poetzl wrote: On Wed, Mar 31, 2004 at 01:41:14AM +, Liam Helmer wrote: printf "%s:%02x" eth0 12345 Ooh, cool. That's much nicer. So, after fixing a couple of other bugs too, it should look more like this: vstohex () {     [ -n "$1" ] || ret