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屋!