PDA

Bekijk de volledige versie : unmount ramfs



MatB
02-02-2006, 07:40
Hi,
I have a wl500gx running Oleg's 1.9.2.7-7b from a USB HDD.
I was looking to unmount ramfs (/tmp) during the boot process to save some ram; however the howto i found seems not to apply to this firmware version, since it refers to a file /init/boot which i don't have. I had a look in /linuxrc, but the ramfs is not mounted from there.
Does someone knows in which file the mount is invoked?
Thanks in advance,

MatB

MatB
03-02-2006, 20:26
So, i've made some steps further, i removed the symlinks pointing to /tmp and its subdirectories.
Now when i boot, only some program are started, namely telnetd, klogd, syslogd, watchdog, dropbear (from post-boot), udhcpc and httpd. No trace of dnsmasq, the printer daemon and waveserver; the ramfs is still there.
Any guru out there can help me?

MatB

Oleg
04-02-2006, 07:00
ramfs is mounted inside the /sbin/rc. Why do you want to unmount ramfs? It's vital for storing temporary files.

MatB
04-02-2006, 20:23
Thanks for the answer! As said in the first post, i'm boooting from an external disk, so i assume i don't need /tmp anymore.