From: Kyrre M B. <Kyr...@iu...> - 2005-07-27 10:57:57
|
Hi, I tried the suggested <&- with no luck either on the command line nor in the perl-wrapper. Thanks for the tip, though. :) On Wed, 27 Jul 2005, Matt Palmer wrote: > On Wed, Jul 27, 2005 at 11:33:44AM +0200, Kyrre M Begnum wrote: >> I am using uml in a setting where i am only interested in the output of >> its console, and won't give it any console input. >> I have encountered a phenomenon that if i pipe something to the uml >> command the boot freezez at: >> >> echo something | ./linux ...... >> . >> . >> . >> kjournald starting. Commit interval 5 seconds >> EXT3-fs: mounted filesystem with ordered data mode. >> VFS: Mounted root (ext3 filesystem) readonly. >> *hang* > > Aaah, yes. I recently tangled with this (or a closely related) problem in > GUML. I think you'll find that the UML isn't actually hanging, it's just > that no output is produced. The way I solved the problem was to ensure that > the standard input of the UML process is closed. A quick run through the > bash manpage suggests that > > echo something | ./linux ...... <&- > > should be a suitable invocation. > > Give it a whirl, if it doesn't work you're only out a few keystrokes. > <grin> > > - Matt > --------------------- Kyrre M Begnum Rom 1.755 7.etg Tfl: 22453276 |