Linux Android SDK中的/tmp目录 [英] /tmp directory in Linux Android SDK
问题描述
只是为了解决问题,昨晚我安装了Android Studio/SDK,在安装和使用过程中,它反复烧毁了我的2Gb/tmp分区.有没有办法告诉这个怪物使用/tmp以外的其他东西,尤其是用于下载/解压缩?
Just to tinker with it, last night I installed the Android Studio/SDK, and both during install and use, it repeatedly blew my 2Gb /tmp partition. Is there any way to tell this monster to use something other than /tmp, especially for downloading/unzipping?
Fedora第20版(Heisenbug)
Fedora release 20 (Heisenbug)
谢谢
推荐答案
设置-Djava.io.tmpdir=whatever
对我不起作用.
我只是创建了$HOME/tmp/PackageOperation04
,然后从/tmp
创建了符号链接.
Setting -Djava.io.tmpdir=whatever
didn't work for me.
I simply created $HOME/tmp/PackageOperation04
and then created a symlink from /tmp
.
cd ~
mkdir -p tmp/PackageOperation04
cd /tmp
ln -s $HOME/tmp/PackageOperation04
这样,Android SDK为此使用了我的/home
分区而不是/tmp
.
This way the Android SDK uses my /home
partition instead of /tmp
for this.
这篇关于Linux Android SDK中的/tmp目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!