[4228] Use "mount -o remount" instead of "umount" and "mount /dev/shm",
Revision: 4228
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4228 Author: aurel32 Date: 2008-04-20 21:10:41 +0000 (Sun, 20 Apr 2008)
Log Message:
-----------
Use "mount -o remount" instead of "umount" and "mount /dev/shm", which results in emptying this virtual file system.
Modified Paths:
--------------
trunk/osdep.c
Modified: trunk/osdep.c
===================================================================
osdep.c +1 -2
@@ -107,8 +107,7 @@ tmpdir, ram_mb);if (strcmp (tmpdir,"/dev/shm" ) ==0 ) {fprintf (stderr,"To have more space available provided you have enough RAM and swap, do as root:\n" -"umount /dev/shm\n" -"mount -t tmpfs -o size=%dm none /dev/shm\n" , +"mount -o remount,size=%dm /dev/shm\n" , ram_mb +16 ); }else { fprintf(stderr,