--- In "j.chitte" <> wrote:
>
> --- In Jim Jackson <jj@> wrote:
> >
> >
> >
> >
> > On Thu, 13 Oct 2005, Mike Dodd wrote:
> >
> > > No. My board has no /dev/ram... devices. However, this doesn't
> stop
> > > mount from mounting ramfs points:
> > > mount -t ramfs none /mnt/my_ramfs -o maxsize=512
> > >
> > > This works perfectly; I can copy files to /mnt/my_ramfs and
open
> them
> > > in vi. Adding this line to /etc/fstab mounts the point at boot
> time:
> > > none /mnt/my_ramfs ramfs maxsize=512 0 0
> >
> > I've not come across ramfs before - always something to learn!
> > Certainly simpler than the way I've used in the past.
> >
> > > So I think I'm getting close to what I need. I'm still curious
> about
> > > tmpfs on the TS-7250 (since the Techologic document showed how
it
> > > should work), but if ramfs works, I'll take that.
> > >
> > > Thanks for your information and suggestions.
> >
> > ditto
> > Jim
> >
>
> I have serious doubts about the maxsize option , my x86 system man
> page says ramfs has NO options.
>
> There are quite a lot of comments about it not working.
>
> Needs to be used with caution !!
>
Hi,
close but not close enough.
I have a couple of ramdisks, automounting at boot and bound to two
dirs in /www that will get heavy use:
$ mount
/dev/root on / type yaffs2 (rw)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
none on /mnt/ramdisk1 type ramfs (rw)
none on /mnt/ramdisk2 type ramfs (rw)
none on /www/apache/htdocs/data type ramfs (rw)
none on /www/apache/htdocs/data_images type ramfs (rw)
I have some archived files I want to populate the ramdisk each
reboot, I untar them at the end of /etc/rc.d/rcS.sysinit
I get just one of several files in the .gz showing in the ramdisk
location.
$ tar -tzf arch/init.data.gz
data_images
data_images/150tank-test.svg
data
data/adc.data
data/adc.data.gnulog
data/date-stamp.txt
data/adc.data.table
$ ls -ail data*
data:
drwxr-xr-x 1 root root 0 Mar 31 00:00 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
-rw-r--r-- 1 sole pat 0 Mar 29 10:21 adc.data.table
data_images:
drwxr-xr-x 1 root root 0 Mar 31 00:00 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
I'd find it easier to understand no files at all. Can someone point
out what I'm missing?
TIA, js.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|