Author Topic: Two questions if I may...  (Read 4138 times)

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Two questions if I may...
« on: May 04, 2004, 11:46:07 pm »
I\'ve spent ages searching but can\'t find anything so...

1. Can I hide the contents of my CF and SD cards being displayed from the Documents tab? I remember something called HideCF which I think did it on my 5500, but it don\'t work on my 860, anyone know of a file/setting/config I can change.

2. Does anyone know what /dev/ram1 is? Does it use/wear my internal flash?

Any ideas, pointers or tips etc.

Thanks ;-)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Two questions if I may...
« Reply #1 on: May 04, 2004, 11:55:01 pm »
1) If you put files in a directory that starts with a dot (like a hidden dir) then it will be excluded.

2) Don\'t know.  I have it too though, and my /dev appears to be mounted from one. It might be the old Linux ramdisk driver which reserves a chunk of RAM (not flash) as a block device.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Two questions if I may...
« Reply #2 on: May 05, 2004, 08:31:34 am »
Quote
1) If you put files in a directory that starts with a dot (like a hidden dir) then it will be excluded.

2) Don\'t know.  I have it too though, and my /dev appears to be mounted from one. It might be the old Linux ramdisk driver which reserves a chunk of RAM (not flash) as a block device.


I thought /dev/ram1 was that, just wanted to be sure. /dev/ram1, /dev/shm and /home appear to be rw, I am trying to move the areas that actively use my internal flash to external devices, I\'d rather wear those out (they can be replaced).

I have been linking the Internal memory /home/zaurus/Documents to /mnt/cf/.Documents since I got my 860 - I was hoping there was a better way coz it\'s a royal PITA when late at night while tired and confused, I use my Z as a USB drive to copy files from my Debian box. I have to enable hidden files under Konqueror etc, it\'s annoying..

There has to be away to hide /mnt/cf/Documents from Qtopia by editing a settings file rather than resorting to making it completely invisible.

Thanks DrWowe
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Two questions if I may...
« Reply #3 on: May 05, 2004, 10:41:34 am »
Quote
Can I hide the contents of my CF and SD cards being displayed from the Documents tab?


Yes, here is what you do:

 - To prevent SD card from appearing in Files tab:

1. Delete the link /home/samba/SD_Card
2. Edit /etc/sdcontrol file, find and comment the following line

 ln -s $MOUNT_POINT $SMB_MOUNT

 - To prevent CF card from appearing in Files tab:

1. Delete the link /home/samba/CF_Card
2. Edit /etc/pcmcia/ide file, find and comment the following line

 ln -s $MOUNT_POINT $SMB_MOUNT

Quote
Does anyone know what /dev/ram1 is? Does it use/wear my internal flash?


This is a RAM disk used for /dev filesystem. RAM disk resides in RAM, not Flash...

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Two questions if I may...
« Reply #4 on: May 05, 2004, 09:53:02 pm »
Anton, I bow in reverence.... as always...

Cheers my good man ;-)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Two questions if I may...
« Reply #5 on: May 05, 2004, 10:24:22 pm »
/dev/shm also uses ram, not flash.  It\'s tmpfs, which is the newer ramdisk driver.  It doesn\'t use a fixed size block of ram, instead it adjust its ram usage according to the files that are actually in there.

/dev/shm is mounted with a limit of 1MB.  Since /tmp is a symlink to /dev/shm/tmp, this is way too limiting if you use programs that need space in /tmp (like vi or gcc), so what I do, is mount another tmpfs into /dev/shm/tmp with no limit.  (an alternative would be to remove or increase the size=1m limit from /etc/fstab)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Two questions if I may...
« Reply #6 on: May 06, 2004, 01:42:41 am »
Quote
/dev/shm also uses ram, not flash.  It\'s tmpfs, which is the newer ramdisk driver.  It doesn\'t use a fixed size block of ram, instead it adjust its ram usage according to the files that are actually in there.

/dev/shm is mounted with a limit of 1MB.  Since /tmp is a symlink to /dev/shm/tmp, this is way too limiting if you use programs that need space in /tmp (like vi or gcc), so what I do, is mount another tmpfs into /dev/shm/tmp with no limit.  (an alternative would be to remove or increase the size=1m limit from /etc/fstab)


If I\'m not mistaken /tmp is limited to 10 Mb not 1 Mb.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Two questions if I may...
« Reply #7 on: May 06, 2004, 01:43:10 am »
Quote
Anton, I bow in reverence.... as always...

Cheers my good man ;-)


Did it actualy work? I havn\'t tried it myself

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Two questions if I may...
« Reply #8 on: May 06, 2004, 03:23:17 am »
Quote
If I\'m not mistaken /tmp is limited to 10 Mb not 1 Mb.


On my 6000, only 1 meg.  Might vary between models.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Two questions if I may...
« Reply #9 on: May 06, 2004, 10:20:14 am »
Yeah, sorry, my brain was turned off, I should have mentioned I was using Cacko QT ROM 1.21A, the question only applied to this ROM. It is 10MB on this one.

Maslovsky, I\'m gonna try now......

(and off he goes skipping merrily)
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.

padishah_emperor

  • Hero Member
  • *****
  • Posts: 849
    • View Profile
    • http://
Two questions if I may...
« Reply #10 on: May 06, 2004, 11:41:45 am »
No, it didn\'t work, tried rebooting but no effect... mmmmh?!?!
Left Linux and Linux PDAs... sorry, got boring.  Switched to Mac.