From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30305 invoked by alias); 31 May 2005 08:34:00 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 30257 invoked by uid 22791); 31 May 2005 08:33:46 -0000 Received: from bnls261a.siemens.co.uk (HELO bnls261a.sni.co.uk) (217.33.204.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 31 May 2005 08:33:46 +0000 Received: from bnls902a (bnls902a.sni.co.uk [10.10.10.70]) by bnls261a.sni.co.uk (Switch-3.1.2/Switch-3.1.2) with ESMTP id X4V81YM2F00001EF8 for ; Tue, 31 May 2005 09:34:58 +0100 Received: from ples507a.stcl.siemens.co.uk ([137.223.44.136]) by bnls902a with InterScan Messaging Security Suite; Tue, 31 May 2005 09:33:40 +0100 Received: from ples506a.stcl.siemens.co.uk ([137.223.44.153]) by ples507a.stcl.siemens.co.uk with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 May 2005 09:33:13 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Tue, 31 May 2005 12:20:00 -0000 Message-ID: From: "Retallack, Mark \(Siemens\)" To: Cc: Subject: RE: [ECOS] RAM File System.......... X-SW-Source: 2005-05/txt/msg00364.txt.bz2 What type of file system do you want? If a non-persistent read-only fs is required you could use the romfs. The image is created by using a tool that converts a directory structure into a single binary image (on the host computer) that can then be linked with the application binary.=20 A RAM FS is also available for creating files at runtime, but I do not know of any way to generate an image like the romfs.=20 We use the JFFS2 file system and have writen a dummy flash driver that points to a location of static ram. JFFS2 uses a tool (like the romfs one) to generate the starting image, and the filesystem can be writen to at runtime. -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of rpai@it.iitb.ac.in Sent: 29 May 2005 13:12 To: ecos-discuss@sources.redhat.com Subject: [ECOS] RAM File System.......... hello........ I dont have an FLASH memory.... is there another method with which i can do it... only the way is hard code it to a file and include it...as the included file will be a structure of field needed..... for eg........ like the rule.... struct rul rule[] =3D{{ 0xa50b810a,2000,0x911e810a,3000,"icmp",'y'}, { 0x482e810a,21,0xc1e810a,20002,"ftp",'n'}, { 0xbc0b810a,9000,0x9c0b810a,600,"678",'y'}}; but this isn't an efficent way....... do u hae any other idea regarding this.......... Regards Pai --=20 Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss