Download Print this page

Sharp Zaurus SL-C3000 Instruction Manual page 38

Zaurus pda instruction manual
Hide thumbs Also See for Zaurus SL-C3000:

Advertisement

my Zaurus SL-C3000 and SL-C3100
You can change the bash prompt by changing the PS1 variable definition to something simple like
zaurus-:) or even something fancy with different colours.
If you don't have a .bashrc file, you can just copy .profile for starters and then modify it.
Zaurus Home Directory
The zaurus user's home directory (/home/zaurus) is located on the /home partition
(/dev/mtdblock3). On the C3000 it is only 4MB in size. It is physically located on the internal flash
memory which is only 16MB in total on the C3000. This partition cannot be made bigger since the
rest of the flash memory is used for the main rootfs (/dev/mtdblock2), the emergency rootfs
(/dev/mtdblock1). The /home partition is also used to store kernel modules (/home/root/modules),
system configuration (/home/zaurus/Settings and /home/etc/) and other things. In addition, some
applications also store their configuration and data into the zaurus home directory (this is what
linux apps are supposed to do), but it is not so ideal on the C3000. Thus the /home partition quite
quickly fills up. It it advised to not store large files there, in fact, try avoiding saving anything there
to preserve the precious space available on /home.
If you do run out of space, you can move some files and directories to /hdd2 or /hdd3 and symlink
the files/directories. To simplify this, I have created a script
directories in /home/zaurus starting with . to /hdd2/zaurushome and symlink them back. If you are
low on space on /hdd2 as well, you can modify zhomefix to move files to /hdd3/zaurushome
instead.
On the C3100, however, the situation is slightly different. The internal flash memory on the C3100
is 128MB in size compared to the tiny 16MB on the C3000. Now you would think that the C3100
won't run out of space so easily. Unfortunately, that is not the case. The rootfs is now allocated
32MB instead of 4MB which was what it was on the C3000, and remember, there is also the
emergency rootfs (smf). So after allocating some of the space for the other stuff, there is still 89MB
of space left on /home. This isn't so bad after all you think, but wait, there is another surprise. On
the C3000, the internal MicroDrive was partitioned into /hdd1, /hdd2 and /hdd3. The default
binaries and settings were stored on /hdd1 which was a read-only filesystem. All the applications
were installed to /hdd2 and the remaining /hdd3 was used for data. On the C3100, the content of
/hdd1 has moved to the rootfs and /hdd2 has moved to /home. Those two partitions (/hdd1 and
/hdd2) are now about 9MB in size each on the C3100 and are more or less empty and not in use.
This makes /hdd3 much bigger on the C3100 compared to the C3000.
However, this in effect makes /home on C3100 equivalent to /hdd2 and /home on the C3000. There
was around 400MB allocated to /hdd2 on the C3000 for installing applications. We only have 89MB
38 of 212
http://www.users.on.net/~hluc/myzaurus/
zhomefix
which will move all files and
16/09/2007 12:23

Advertisement

loading

This manual is also suitable for:

Zaurus sl-c3100