One more note for the day:
The default /etc/fstab looks like this:
/dev/mtdblock4 / jffs2 defaults 1 1
proc /proc proc defaults 0 0
/dev/hda1 /media/cf auto
defaults,noauto,noatime,user,exec,suid 0 0
/dev/mmc/part1 /media/card auto
defaults,noauto,noatime,user,exec,suid 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /media/ram tmpfs defaults 0 0
Problem with this: The two tmpfs partitions take up almost all memory.
As noted in debian man mount:
«Mount options for tmpfs
The following parameters accept a suffix k, m or g for Ki, Mi,
Gi (binary kilo, mega and giga) and can be changed
on remount.
size=nbytes
Override default maximum size of the filesystem. The size
is given in bytes, and rounded down to entire
pages. The default is half of the memory.»
Each tmpfs partition takes up half the memory by default, and two halves
sum up to...
Again, all platforms may not need the same size of their tmpfs
partitions, but at least for me it helps to change them into something
similar to:
/dev/mtdblock4 / jffs2 defaults 1 1
proc /proc proc defaults 0 0
/dev/hda1 /media/cf auto
defaults,noauto,noatime,user,exec,suid 0 0
/dev/mmc/part1 /media/card auto
defaults,noauto,noatime,user,exec,suid 0 0
tmpfs /var tmpfs defaults,size=3m 0 0
tmpfs /media/ram tmpfs defaults,size=3m 0 0
Harald Thingelstad
Received on Wed Jan 04 2006 - 11:43:04 EST
This archive was generated by hypermail 2.2.0 : Wed Jan 04 2006 - 11:43:35 EST