OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: Mjolinor on October 31, 2005, 04:01:00 am
-
I was having a lot of difficulty installing from the package manager so went to the command line and ipkg was bombing out because of lack of space. I find that /tmp is a link to /dev/shm/tmp and so I deleted it and made a directory called tmp. This now allows me to install things properly.
Presumably "tmp" is supposed to point at RAM insead of Flash and I now have it in Flash which is not good.
The relevant line from my fstab file is :-
none /dev/shm tmpfs noauto,size=1m 0 0
mount returns
/dev/root on / type jffs2 (rw)
/proc on /proc type proc (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/mmcda1 on /mnt/card type vfat (rw,noatime)
/dev/hda1 on /mnt/cf type vfat (rw,noatime)
and df returns:-
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 58368 39060 19308 67% /
none 1024 1024 0 100% /dev/shm
/dev/mmcda1 248820 58160 190660 23% /mnt/card
/dev/hda1 249832 128952 120880 52% /mnt/cf
so I have no room on /dev/shm.
This I assume is my problem. As I don't know how this works I would appreciate some enlightenment please.
-
Can anyone tell me why
none /dev/shm tmpfs noauto,size=3m 0 0
in fstab doesn't increase the size of /dev/shm from 1 m to 3 m. According to what I have read it should do. In order to install any software I have to delete the link /tmp and make it a directory, install the software and then delete the directory and put the link back, if I don't do this then I get errors installing and it bombs out. I don't think it's a good idea to have tmp in Flash.
Apart from that I now really have only two things bugging me.
How does one increase the font size in kconsole. I have added extra fonts but it doesnt see them. I have edited the conf file but when you run kconsole it just changes it back to "fixed", I have deleted the fonts and renamed helvetica to fixed and kconsole won't start, I have hex edited kconsole and put helvetica instead of fixed in the binary but it must be checksummed as it doesn't start.
The other thing is systemtime running on boot. I cannot find where this is called it's not the qt or qpe scripts and I have gone through everything in rc.d, no sign of the little blighter. I could be helped finding this if anyone is good enough at the command line to give me a command that will search all files for the word "systemtime" probably something with cat and grep or ls but cat doesn't seem to work with wildcards.
Oh yes and how does one put the scroll bars on the left with the Guylhem ROM
This thing is growing on me
-
hello
regarding kconsole, don't bother tweaking the fonts name - they won't be used if they aren't square. check the code - it's quite clear, with comments from ljp
regarding systemtime, can't remember.
-
I don't know why modifying the fstab with size=n doesn't work.
I do have a workaround. At the end of the boot sequence I run
mount /dev/shm -o size=n,remount
This works for me.
-
hello
regarding kconsole, don't bother tweaking the fonts name - they won't be used if they aren't square. check the code - it's quite clear, with comments from ljp
regarding systemtime, can't remember.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102115\"][{POST_SNAPBACK}][/a][/div]
systemtime is called from within /opt/QtPalmtop/bin/qpe
Binary file, bummer.
I hex edited the qpe binary and changed systemtime to emitmetsys to keep the checksum the same and it boots without it. Probably an error message somewhere about not being able to find the file but at least I got rid of it without having to move it so I can still call it from settings.
I don't know why modifying the fstab with size=n doesn't work.
I do have a workaround. At the end of the boot sequence I run
mount /dev/shm -o size=n,remount
This works for me.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=102120\"][{POST_SNAPBACK}][/a][/div]
Excellent, thank you, that sorted it.