On Wed, 12 Oct 2005, Mike Dodd wrote:
> > 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.
I think it fair that they assume some linux knowledge and essentially
concentrate on where there product has specifics.
You don't "switch on " features in the linux kernel like you indicate. You
may pass parameters/variables.
tmpfs is not an alternative to ramdisks. A kernel can support both.
If the kernel was compiled with tmpfs it is there - period.
There is a list of inbuild filesystems that the current kernel supports
cat /proc/filesystems
If it is not built in, it may have been built as a module - a dynamically
loadable feature of the kernel. I'm a bit clueless when it comes to
modules.
I'm at home so I've just checked the config file for my last kernel build
(last Xmas! boxing day actually - sad) and it appears the TS build doesn't
enable TMPFS. As far as I remember, I only enabled a couple of kernel
options ontop of the basic TS build. It appears that RAMFS support is
built in.
Does /dev/ram1 /dev/ram2 etc exist?
/dev/ram is usually a symlink to /dev/ram1, but I'm not sure what happens
on a devfs system (the 7200 is the only system I've got that uses devfs,
so I'm a bit vague). If /dev/ram1 exists use that instead of /dev/ram
>
> Mike
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
------------------------ 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/
|