From: Steve J. <uml...@my...> - 2004-11-30 18:27:28
|
>Hmm, not sure... if you can chroot, you can as well do an >appropriate mount on chroot-path/tmp (even a mount --bind / mount -o >bind, which is the same). >-- >Paolo Giarrusso, aka Blaisorblade >Linux registered user n. 292729 >http://www.user-mode-linux.org/~blaisorblade I have the same problem when using chroot. The host is 2.6.9-skas3-v7 and the guest is 2.6.9-bb3. I'm using UMLazi to create the jail environment and to start and stop guests. "shutdown -r" from within a guest intermittently leaves tmpfs mounted. The only way that I've found to get rid of them is to use "umount -l". It's possible that this doesn't really remove them but just hides the problem. Not a lot of documentation for the "-l" option. "shutdown -h" from within a guest always leaves a tmpfs mount as does "umlazi stop" from the host. Don't know if it helps or not, but if multiple tmpfs' exist for one guest (multiple reboots without "umount -l"), df will show the same size for all of the tmpfs'. Also, "umount -l" can be used to remove the extra tmpfs' while the guest is running without any problems. Of course, you need to make sure to leave the last one running. Hope this helps. . . -Steve Johnson _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com |