$ export TMP=/tmp/mydir
$ /usr/bin/linux umid=asdf...
No, didn't work :-(
this is how i do it and it works:
---- snip ---
TMPDIR=/tmp/uml_$UMLNAME #location where to store the ram of the uml
mkdir $TMPDIR
mount -t tmpfs -o mode=1777,size=$MEM none $TMPDIR
chown $UMLUSER $TMPDIR -R
chmod og-rwx $TMPDIR -R
su - $UMLUSER -c "TMPDIR=$TMPDIR $KERNEL eth0=tuntap,$TAP $CONSOLE
ubd0=$ROOTFS ubd1=$PORTAGE ubd2=$SWAPFS umid=$UMLNAME mem=$MEM"
---
i had the same problem that it didn't work, but with TMPDIR=$TMPDIR it worked.
maybe also have a look at my uml-start/stop scripts @
http://rfd.cronopios.org/repository/uml/ (not everything is up to date
or is like i want it, but i'm moving towards ;)
i'm doing a lot more (firewall/nat/etc.) while start/stopping an uml_instance.
greets pete
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user