projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29d8ae
)
Use "mount -o remount" instead of "umount" and "mount /dev/shm",
author
aurel32
<aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 20 Apr 2008 21:10:41 +0000
(21:10 +0000)
committer
aurel32
<aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 20 Apr 2008 21:10:41 +0000
(21:10 +0000)
which results in emptying this virtual file system.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4228
c046a42c
-6fe2-441c-8c8c-
71466251a162
osdep.c
patch
|
blob
|
history
diff --git
a/osdep.c
b/osdep.c
index 64bc16e05ccbf64b75e69a7ccfe7721d41dd2b7b..ae7e3fb8cae41559da16d537fd13ebd633413716 100644
(file)
--- a/
osdep.c
+++ b/
osdep.c
@@
-107,8
+107,7
@@
static void *kqemu_vmalloc(size_t size)
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,