Hello, I'm new to UML. I'm having trouble in redirecting program output to a log file in uml. I tried both '&>' and tee, but the output is still displayed on the ternimal, and nothing is logged.
I have no problem redirecting the output of the same program in native mode linux. Any suggestions? Thanks, Yi This is the setup_uml.sh script I got to set up the uml: ---------------- #!/bin/sh echo 'none / hostfs defaults 1 1' > /etc/fstab sed -i -e '/\/sbin\/mingetty/d' /etc/inittab echo '1:2345:respawn:/sbin/agetty -i -l /bin/bash -n -L 38400 vc/0 linux' >> /etc/inittab pushd /lib/modules for version in * ; do /sbin/depmod -ae $version ; done popd ----------------- This is the script I got to start the uml: ----------------- #!/bin/sh RUN_DIR=$1 cp $RUN_DIR/planetlab1.chin.internet2.planet-lab.org.umlsh /etc/rc3.d/S99local cp $RUN_DIR/hosts /etc/ linux root=/dev/root rootflags=/ rootfstype=hostfs ro con0=fd:0,fd:1 eth0=daemon eth1=daemon eth2=daemon eth3=daemon ---------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
