Download Print this page

Sharp Zaurus SL-C3000 Instruction Manual page 39

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

Advertisement

my Zaurus SL-C3000 and SL-C3100
on the C3100. Luckily, this 89MB is located on a jffs2 filesystem which has built-in compression so
we could be able to install around 200-300MB of applications and stuff if we are lucky. Still, we will
run out of space eventually. If that happens, we could uninstall some applications (such as the
additional applications that came with the C3100 but weren't present on the C3000) or we could
move some files to /hdd3, but be careful, /hdd3 is by default a FAT filesystem and does not support
symbolic links which some applications might require. See the Filesystem section on discussion on
using cramfs or ext2 loopback filesystem on /hdd3 to extend the amount of installable space.
Alternatively, you can install to SD or CF card, but some applications require to be installed to
non-FAT partitions so you might need to reformat them.
HDD3 Considerations
Both the C3000 and C3100 contain an internal 4GB MicroDrive which is partitioned into /hdd1,
/hdd2 and /hdd3. By default, /hdd3 is formatted as a FAT filesystem so it can be shared as a USB
drive when the Zaurus is connected to a computer as a USB slave and accessed from Windows. The
first partition, /hdd1 is a read-only partition containing the OS images and binaries required to run
and restore the Z to factory default on the C3000. On the C3100, it is an almost empty partition
with a size of 9MB. It contains a file called hdimage2.tgz that has the directory structure and
sample template files for hdd3. The second partition, /hdd2 is where applications get installed to on
the C3000. On the C3100, it is also an empty partition with a size of 9MB. The third partition, /hdd3
is allocated the remainder of the MicroDrive and is a FAT formatted partition. It can be used to store
data on files of any type, including relatively large files. Alternatively, /hdd3 could potentially also
be used for applications when /hdd2 or /home is full if you apply a few modifications.
However, since the default /hdd3 is using the FAT filesystem, no symlinks can be created on it and
file permissions and ownership are also not available. Thus, there are a few drawbacks with having
/hdd3 as a FAT partition. You can either reformat the entire /hdd3 to linux filesystem (ext2/ext3) or
repartition /hdd3 into /hdd3 and /hdd4. This leaves a smaller FAT formatted /hdd3 and additionally
a /hdd4 with a linux partition.
Before repartitioning /hdd3, make sure you backup everything on it first. The dictionary files (dict1
and dict2) which are by default on /hdd3 can be found on the first two CD-ROMs that came with the
Zaurus. The C3100 has a third CD-ROM which contains the files for the Contents_Files directory.
The contents of the sd_map directory (C3100 only) are located under a sub-directory under the
Applications directory on the first CD.
/hdd3 is usally mounted from /dev/hda3 or /dev/hdc3 depending on how you booted. If you booted
with no CF card, then it will be /dev/hda3, however, if you had booted with a CF card inserted, then
it will be /dev/hdc3.
The steps required for splitting hdd3 into two are:
unmount hdd3
run fdisk and delete hdd3
run fdisk and create hdd3 as FAT
run fdisk and create hdd4 as EXT2 or EXT3
format hdd3 as FAT
format hdd4 as EXT2 or EXT3
There is also a tool called parted which allows you to resize your existing partitions without having
to remove them. This is certainly very useful tool, but remember to backup your hdd3 before
resizing it if you have files on hdd3 that you want to keep. Although parted can resize the partition
without wiping your data, it is not guaranteed. There may be instances where resizing could corrupt
the partition so its always wise to do a backup first. Also run fsck after using parted to verify that
the partition has been resized successfully without corruption.
Once that is done you need to remount / as read/write and create a mount point for hdd4, ie /hdd4.
Remember to remount / to read-only after you have created your mount point. Also you will need
to create a startup script to mount hdd4 during bootup. But be careful since hdd4 can boot up as
/dev/hda4 or /dev/hdc4 depending on whether a CF card is inserted during bootup or not. My
automounter package [automounter-c3000_0.5.0_arm.ipk] will automatically mount hdd4 if it
detects it.
39 of 212
http://www.users.on.net/~hluc/myzaurus/
16/09/2007 12:23

Advertisement

loading

This manual is also suitable for:

Zaurus sl-c3100