From: Matthew B. <ma...@by...> - 2002-11-27 00:05:29
|
On Thursday 07 November 2002 20:10, Jeff Dike wrote: > This is basically a one-change patch. > > It is now possible to query device configurations through the mconsole. > 'config <device>' will return the configuration of <device>. This is > mostly useful for consoles and serial lines attached to ptys and pts > devices. This will tell you what host device they got. > > This is unimplemented for block devices and network interfaces right now. > > Also unimplemented, but planned, is the ability to query all devices of a > particular type. I.e. 'config ubd' will return the configurations of all > ubd devices. This would be useful in finding a free block device to attach > something to. Hi there; I looked up this message to try to get a running UML to tell me which pty it had been allocated so I could use screen etc. to give users console access. Unfortunately whatever I tried, the command returned an error: config con config con0 config ttyS0 config tty0 ... etc. all gave me an error with either no text, or "Bad configuration option". Jeff, could you tell me what command to issue to the mconsole socket to get it to give me the pty device for a particular conX please? cheers, -- Matthew Bloch Bytemark Computer Consulting Limited http://www.bytemark.co.uk/ tel. +44 (0) 8707 455026 |