System Layout
From OESF
leo vince sony cybershot dsc w1 giochi enigmistici verona sud gilera il sorriso della jena ffffff motorola e vinci un viaggio cutugno canzoni zonealarm pro kit ricariche cartuccia epson identikit dei blue athlon 3000 computer temi svolti sulla famiglia univaq incontro treviglio bojana philips dect 511 k8vx k8t800 il conte di montecristo vol 01 suoneria drin drin testi florida inc hector y tito vs don omar kraus karl sd mmc card impugnatura canon bg ricette di semifreddi la prisionera ostaggi italiani video nick berg beheading tenda salewa video recorder portatile simple minds seen the lights live in verona malanje (provincia) hard disc da 2 5 esterno testi argomentativi mujers denuda nba draft tempo destate sam whiskey sigma ex 70200 f2 8 opel meriva milano scheda video 256mb 9550 il disertore konkwista 88 mp3 www mercedes benz it panasonic inverter 12000 decespugliatore da giardino giorno di fuoco a red river video dei catoni assicurazione di ravenna inuyasha serie 4 vol 03 jose velez vino griego elenco telefonico ercolano sigma obiettivo 18 sonia eies real robots italiano ucciso iraq olympus c55 camedia laminite fox calendario 2005 incontro amore amicizia macchina fotografica digitali minolta forum su cuba scheda audio slot pci 2 the hot spot il posto caldo gozalo strangers in the night zielony kapelusz traduzione portoghese pietro sermonti foto di moran atias su max vivid 60 gruppo basilea elaborare acer al1732 king of love antenna gps bluetooth palmari iriri rio canon xm 2 cristina rus heroes madona nude godesberg capinere itinerari turistici di napoli sei immagini da eternal darkness ceza necazuri hotel details earthworm jim 3d da femmine torce xeno kuoni www pink tv fiat panda 1 2 la grecia classica sci carving ipod xtreme diffusori professionali camera finale ligure orologeria industriale e controllo dei tempi chicago testi evaengher eroe per famiglie cpu athlon xp misuratori pressione trigun disc 02 jeans diesel rame hamlet mp3 foppa pedretti pinocchio ombra gigante hotel di parigi il coccodrillo paciotti calzature adsl atm modem appunto inglese la regina margot km0 bmw 318 diesel auto km 0 video porno lunghi acetile porno children san antonio apartment www trieste it un ladro in paradiso blues masters the essential history of the blues 1958 1961 pellicce abbigliamento king of fighters maximum impact verso la psp meyre vieira offerte americane per lhard disk playstation 2 catrina del grande fratello thierry lhermitte film bianco tre colori vaginite gardnerella maggiolino tutto matto fisico in forma televisori al plasma 42 samsung lezioni statistica terni giacca nike concerti mtv european music luna gianni togni nissan navara rapino ufficio udine kool e gang get down on it tv new hex key ospedale bergamo annuncio telefono fighe nude pentola bavaria abbigliamento hollywood tavolo da pic nic mappa concettuale esame stato sconsolata sexy rs mmc dual multimedia memory card humax drp 560 cohen hallelujah brevetto universal combat demo tutorial lavatrice profondita 40 nek dimmi cos e scatolificio riduttore per passeggino k8nneo2 platinum roma torino mina la banda escucha triste palomita jt 359 sesso gatis nissan micra roma albergo 3 stelle lione telecamera rete taxy ufficio follonica terneuzen campionato austriaco www blackbooty anno peugeot 106 hamid tv 46 samsung dawnload giochi sexy gratis penne ypsilon lanima e il volto honi heaven out lcd 32 philips 32pf9830 best annuncio com video porno lunghi paso adelante italia 1 carosello di notte konica minolta fotocamera digitale horse club gaet gasparini superman xxx hot bandito nokia 3510 tavolo per computer lavatrici 12 kg ==Overview==
This document describes the filesystem and directory layout of the Sharp Zaurus 5500, to help everyone understand better what happens when new software is installed, creating user accounts, and so on. It's not really a HOWTO in the sense that it doesn't explain "how to" do anything beyond understand the location of files and directories, and how these correspond to the ROM and RAM on the Z, and why.
Robert P. J. Day <rpjday at mindspring.com>
The memory layout
The memory on the 5500 is divided into ROM: 16M RAM: 64M, further divided into:
- memory
- 32M for processes/buffers/cache
- storage: 32M for additional file/directory storage
You can see the current usage of RAM by clicking on "Applications/System Info".
In addition to the above, their might also have additional memory on either a CF card or SD card, whose size and usage would also be displayed by clicking the same icon.
Superficially, all of the above storage/memory corresponds to the following locations or mount points by default:
- / ROM
- /home RAM
- /mnt/cf CF card
- /mnt/card SD card
and in a terminal shell it will correspond with either of:
- mount
- df
While this is a fair approximation of how memory and directories are associated, it's actually quite a bit more complicated.
The directory structure
Again, simplistically, think of the two major mounts points as:
- / ROM
- /home RAM
Initially, this suggests that all of the system directories like /bin, /usr, /etc and so on are read-only, but clearly this is impossible since there would be no way to do basic administration like adding a new user, installing new software and so on.
In fact, modifying system files is supported by the fact that there are about a gazillion links from the alleged system directories and files into corresponding directories and files under /home, which makes them changeable. For example,
- /etc -> /home/etc
- /tmp -> /home/tmp
- /var -> /home/system/var
which makes everything in /etc, /tmp and /var read-write. So far, so good.
In addition, command and software management is also supported by carefully chosen symbolic links. Consider, as an example, just the /usr/bin directory:
- /usr/bin -> /home/root/usr/bin
This implies that new software being installed under /usr/bin is actually going into the writable RAM, which is a good thing. But it gets more interesting.
If the contents of /home/root/usr/bin are examined, most of the contents are symbolic links back to files in /usr/bin.rom. This means that both the standard, built-in ROM commands appear to be in /home/root/usr/bin, even though they're really back in the read-only directory /usr/bin.rom. And any new software will go in /home/root/usr/bin. The same situation holds for the other directories /usr/sbin, /usr/lib, /usr/local, /usr/share and /usr/etc, which means there is access the pre-loaded ROM files while still being able to add new files.
This same technique is used for additional installation directories:
- /opt/!QtPalmtop -> /home/!QtPalmtop
- /opt/Qtopia -> /home/!QtPalmtop
Given the above, it's easy to see that the main software install directories are going to be:
- /usr/bin
- /usr/local/bin
- /opt/{!QtPalmtop,Qtopia}
all of which, due to symbolic links, actually reside under /home somewhere.
The initial system directories
One final point. The initial contents of a number of the critical directories can be found as hidden tar files in the ROM-based /root directory:
- cd /root
- ls -a
- .dev_default.tar
- .home_default.tar
- .var_default.tar
These tarballs are the initial contents of /dev, /home, and /var (which is really a symlink to /home/system/var). Doing a hard reset reloads all of /dev, /home and /var from these tar files.
When building a custom ROM the initial contents of any of these directories can be changed, by (as root on your Linux box) untar the appropriate tarball, make the changes, then tar it back up. You have to do it as root so that root is the owner of the files in the tarball. (fakeroot should work here, if you're familiar with that.)

