iTouch – Be aware of the the root file system size

Just before 1.1.3 was released i finally upgraded to 1.1.2. The main reason for this was that some applications, most notably Jiggy only run on 1.1.2.

So i did as advertised and approx. 30 minutes after the start of the procedure i had nearly all applications that were working under 1.1.1 installed and running, plus some more.

But for some reason i didn’t understand the Python install didn’t work. I tried a lot of options deinstalling other applications and installing them selectively but i could’nt figure out a rule when an install was successful and when it wouldn’t install.

Finally i ssh’ed into the iTouch and once i did this the reason of this strange behaviour became apparent. A df shoed that the root file system (the file system mounted at /) was full. Apparently Apple didn’t provide too much spare room for unoffical 3rd-Party applications. The file system size is a mere 300MB.

It didn’t help that during the install of applications there were Pop-ups saying that the iTouch was running out of space and that i should remove some audio or video files.

In order to be able to install Python and gain some space i added /var/root/bin to the path (in the traditional UNIX way of doing it. I added a .profile file with the following content to the home dir of the user root.

# cat .profile
 export PATH=$HOME/bin:$PATH

/var/root is the mount point of the second, the data partition. This is plenty of space for quite some apps (if you don’t fill up everything with audio and video

So right now the situation on my iTouch is as follows:

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/disk0s1            307200    290288     13840  96% /
devfs                       15        15         0 100% /dev
/dev/disk0s2          15551928   4098212  11453716  27% /private/var

So i’m wondering how the situationĀ  on 1.1.3 looks like.