Hello,
Now that I'm using Linux 2.4.5 I started playing around with some of the
other file systems available. I've found that using tmpfs as a replacement
for linux and the /dev/ram* devices works great for the /tmp directory and
the /var/log directory.
The tmpfs file system, for those who are unaware, grows and shrinks itself
to match the size of the files in it. In this way I use the exact amount of
ram that I need, and I don't have any wasted ram, in the form of unclean
links in minix. The other advantage is that writes to it are very fast, on
the order of 4 or 5 times faster, measured by observation, than writes to
the minix ram disks.
The only down side is that it doesn't have any bounds so it can grow to fill
all of your available ram. For this reason, it should probably only be used
in systems with a large amount of RAM, 128MB or more.
If you want to test it out, try the command 'mount -t tmpfs tmpfs /tmp -o
rw,noexec,nosuid,nodev' after umounting you /dev/ram2 (or whatever is
currently mounted at /tmp). You need to be running kernel 2.4.x with tmpfs
either loaded as a module or compiled in. It is compiled into the 2.4.5
kernel which is available at
http://leaf.sourceforge.net/devel/wolffang/kernel_245
Andrew Hoying
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel