Is it posible to pass a variable from command line to an UML instance ?
I mean, something like this. Launch UML from cmd line.
linux ubd0=root_fs MYVARIABLE=values
Then inside the UML, we can get the MYVARIABLES back.
We've 100s of NEW questions! Play Millionaire online to win $$$$. Click here
From: Thomas Schwinge <schwinge-lists-sourceforge.net-user-mode-linux-user@ni...> - 2004-02-20 10:56:17
On Fri, Feb 20, 2004 at 05:32:42PM +0800, - Kocil wrote:
> Dear all.
> Is it posible to pass a variable from command line to an UML instance ?
> I mean, something like this. Launch UML from cmd line.
> linux ubd0=root_fs MYVARIABLE=values
> Then inside the UML, we can get the MYVARIABLES back.
Just the same way as you do with a natively running linux: Arguments on
the command line which are not recognized by the kerenel are assed to
So you can either evaluate them with init (good) or you can parse
Get latest updates about Open Source Projects, Conferences and News.