>> Still trying to figure out how to make a RAM filesystem, I have a
>> question about tmpfs. Is this enabled in the TS-Linux kernel, and
>> how do I use it?
>>
>> According to info I found on the Web, tmpfs is part of the 2.4 kernel,
>> and I should be able to mount it with:
>> mount tmpfs /mnt/tmpfs -t tmpfs
> Mike, it depends whether the kernel was built with that option, or if it
> is available as a module.
How can I find out? Since the Technologic document specifically
mentions tmpfs, I logically assumed the kernel would have that ability.
> What have you done to create a ramdisk?
Nothing.
> There should be a device /dev/ram
There is not.
> Ram disk size is a preset in the kernel - usually 4MB
> You need to build a filesystem on /dev/ram, so e.g.
> mkfs -t ext2 /dev/ram
> [...]
> mount -t ext2 /dev/ram /mnt
According to Google searches, tmpfs is part of the 2.4 kernel (i.e.,
it's virtual memory), and there is no need to create a ramdisk. My
understanding is that tmpfs is used INSTEAD OF a ramdisk for a
temporary filesystem. Everything I read says this specifically.
(BTW, I tried 'mount tmpfs /mnt/tmpfs -t tmpfs' on my SUSE Linux
server with a 2.4 kernel, and it did mount as expected, and I could
write files to it and read them back. In other words, it worked
exactly like the Google searches indicated, and I didn't have to
create a ramdrive.)
Assuming tmpfs _is_ in the TS-Linux 2.4 kernel, but requires a kernel
option at boot-time to enable it, how do I pass such an option to the
kernel?
Thanks again for any and all advice. The Technologic documentation is
sorely lacking in this regard.
Mike
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|