* [Qemu-devel] [4228] Use "mount -o remount" instead of "umount" and "mount /dev/shm",
@ 2008-04-20 21:10 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-04-20 21:10 UTC (permalink / raw)
To: qemu-devel
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
===================================================================
--- trunk/osdep.c 2008-04-20 20:19:54 UTC (rev 4227)
+++ trunk/osdep.c 2008-04-20 21:10:41 UTC (rev 4228)
@@ -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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-20 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-20 21:10 [Qemu-devel] [4228] Use "mount -o remount" instead of "umount" and "mount /dev/shm", Aurelien Jarno
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.