http://underpop.online.fr/n/nielshorn/2011/03/qemu-snapshots-temporary-files-where-they-go-and-how-to-change-that/ Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars Tue, 16 Apr 2013 23:35:17 -0300 http://wordpress.org/?v=2.8.4 hourly 1
http://underpop.online.fr/n/nielshorn/2011/03/qemu-snapshots-temporary-files-where-they-go-and-how-to-change-that/comment-page-1/#comment-2457 brii Thu, 04 Oct 2012 18:31:22 +0000 http://underpop.online.fr/n/nielshorn/?p=976#comment-2457 This article was very helpful for me, thank you :)
This article was very helpful for me, thank you
]]>
http://underpop.online.fr/n/nielshorn/2011/03/qemu-snapshots-temporary-files-where-they-go-and-how-to-change-that/comment-page-1/#comment-2275 Ralf Tue, 13 Dec 2011 10:46:58 +0000 http://underpop.online.fr/n/nielshorn/?p=976#comment-2275 sudo sh -c "TMPDIR=$HOME/tmp/ qemu blahblah" works for me.
sudo sh -c “TMPDIR=$HOME/tmp/ qemu blahblah” works for me.
]]>
http://underpop.online.fr/n/nielshorn/2011/03/qemu-snapshots-temporary-files-where-they-go-and-how-to-change-that/comment-page-1/#comment-1811 Niels Horn Mon, 28 Mar 2011 19:18:40 +0000 http://underpop.online.fr/n/nielshorn/?p=976#comment-1811 Yes, it would, but... You would need to add "/usr/bin/env" to your sudoers file, and being able to set root's environment can have security consequences I don't like. But surely it can be a solution in some cases. Thanks for your feedback!
Yes, it would, but…
You would need to add “/usr/bin/env” to your sudoers file, and being able to set root’s environment can have security consequences I don’t like.
But surely it can be a solution in some cases.
Thanks for your feedback!
]]>
http://underpop.online.fr/n/nielshorn/2011/03/qemu-snapshots-temporary-files-where-they-go-and-how-to-change-that/comment-page-1/#comment-1803 vinicius Sun, 27 Mar 2011 22:06:17 +0000 http://underpop.online.fr/n/nielshorn/?p=976#comment-1803 Hi Niels, I'm a slackware user, brazilian, and have been following your blog for some months now. When you say: > They can be redirected to another location using the TMPDIR environment variable, but not if you're using > sudo to start Qemu. In this case you will need to login as root or become root with "su". What if you use: $ sudo env TMPDIR=/var/whatever qemu ... Wouldn't it set the tmpdir variable right, when starting qemu? Best regards.
Hi Niels,
I’m a slackware user, brazilian, and have been following your blog for some months now.
When you say:
> They can be redirected to another location using the TMPDIR environment variable, but not if you’re using
> sudo to start Qemu. In this case you will need to login as root or become root with “su”.
What if you use:
$ sudo env TMPDIR=/var/whatever qemu …
Wouldn’t it set the tmpdir variable right, when starting qemu?