ts-7000
[Top] [All Lists]

Re[2]: [ts-7000] ramdisk

To: Triffid Hunter <>
Subject: Re[2]: [ts-7000] ramdisk
From: Angel Rodriguez <>
Date: Fri, 13 Jul 2007 16:44:33 +0000

Hello,


Writing to the null device is certainly a solution that would not have occurred to me, I like the way you think.


This program is for the capture of seismic data and shipping it with a transport protocol called seedlink.  The packets are numbered and kept track of between the server (7260) and the client.  If the TCP connection is dropped the server makes up the missing data as best it can from what it has placed in the buffer.  So most of the time there is no need for the buffer. The main saving grace of the seedlink protocol is the make-up feature.  There are other simpler protocols that are more UDP like and just send the data, not caring if it arrives.


I tried several things



$ mount -t tmpfs -o size=8m randomword /tmp

mount: Mounting randomword on /dev/rd failed: Invalid argument

$ mount -t tmpfs -o size=8m randomword /tmp

mount: Mounting randomword on /dev/rd/0 failed: Invalid argument

$ mount -t ramfs -o size=8m randomword /tmp

mount: Mounting randomword on /dev/rd/0 failed: Not a directory

$ mount -t ramfs -o size=8m randomword /tmp


it was pretty much the same whether I was in /root or on the debian on the SD card


so I think I will do some test with the 


$ mount -t ramfs -o size=8m randomword /tmp


Thank you so much for the help.


Angel



, July 13, 2007, 4:16:24 AM, you wrote:


>



On Thu, 12 Jul 2007, Angel Rodriguez wrote:


> Hi all,

>

> I am using a TS-7260 with a Debian on the SD card. I am running a

> program that writes to a buffer continuously. In order to not trash the

> cards I would like to use a ramdisk, or tmpfs or ramfs.

>

> Can this be done on the 7260. I can see in dmsg that where is says

>

> RAMDISK driver intialized: 16 RAM disk of 12288K size 1024 blocksize

>

> But I can not find how to mount, format and use any sort of memory based

> disk. I have search the list message base and there are some

> references for the 7250, but nothing I can make heads or tail of.

>

>

> Angel


why not make it write to /dev/null? If you hand it a tmpfs, it'll 

eventually fill up all your ram and the kernel's oom-killer will kill 

everything.


mount -t tmpfs -o size=8m randomword /mount/point should work fine if you 

want to go this route anywayof Use m("yahoogroups.com?subject","ts-7000-unsubscribe");=">Unsubscribe 


.

 

 




__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU