diff options
author | 2008-04-20 21:10:41 +0000 | |
---|---|---|
committer | 2008-04-20 21:10:41 +0000 | |
commit | 2520c665c8df68550dac083bb81bb0a1c414432d (patch) | |
tree | d92298c1a0344934e4b6f541812da0197d677ae6 /osdep.c | |
parent | fix dyngen on HPPA hosts (diff) | |
download | qemu-kvm-2520c665c8df68550dac083bb81bb0a1c414432d.tar.gz qemu-kvm-2520c665c8df68550dac083bb81bb0a1c414432d.tar.bz2 qemu-kvm-2520c665c8df68550dac083bb81bb0a1c414432d.zip |
Use "mount -o remount" instead of "umount" and "mount /dev/shm",
which results in emptying this virtual file system.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4228 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.c')
-rw-r--r-- | osdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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, |