← Back to team overview

ubuntu-phone team mailing list archive

Re: Disk usage in emulator

 

Am Sa, 11. Apr, 2015 um 2:22 schrieb Steve Langasek <steve.langasek@xxxxxxxxxxxxx>:
On the contrary, you were exactly right. Note that the output of 'mount'
shows /dev/mmcblk0 (bind) mounted in multiple locations:

I'm not sure about the difference in output between df and mount. That's
surely a bug of one variety or another.

And I looked just at the df output... Excellent! :D

Am Sa, 11. Apr, 2015 um 4:23 schrieb Robert Schroll <rschroll@xxxxxxxxx>:
So it looks like you start off with only 600MB usable space in /home. That's certainly enough for simple testing, but 100MB files aren't that uncommon. Combined with the need to make copies of files to live in different silos, this means that those of us testing file management can run out of room rather quickly. Is there a way to increase the allotted space, either pre- or post-creation?

I'd like to know that as well, but with reference to resizing partitions on real phones. I've run into memory shortage multiple times when installing build dependencies using apt-get.

For the emulator you could try resizing the QEMU img files in "~/.local/share/ubuntu-emulator/". You might have to resize some partitions afterwards. I don't know whether that works but it might be worth a try. (Do a backup of the original files before so that you don't have to set up everything again in case that fails.) I guess you'll find information on how to do it on the internet.

References