From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32104 invoked by alias); 3 Jun 2007 20:41:25 -0000 Received: (qmail 32096 invoked by uid 22791); 3 Jun 2007 20:41:25 -0000 X-Spam-Check-By: sourceware.org Received: from stelecom.gomel.by (HELO stelecom.gomel.by) (82.209.213.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 03 Jun 2007 20:41:22 +0000 Received: from localhost (localhost [127.0.0.1]) by stelecom.gomel.by (Postfix) with ESMTP id C28B7B018A10; Sun, 3 Jun 2007 23:41:18 +0300 (EEST) Received: from stelecom.gomel.by ([127.0.0.1]) by localhost (stelecom.gomel.by [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22583-38; Sun, 3 Jun 2007 23:41:17 +0300 (EEST) Received: from localhost (unknown [82.209.211.87]) by stelecom.gomel.by (Postfix) with ESMTP id 4138FB018652; Sun, 3 Jun 2007 23:41:17 +0300 (EEST) Date: Sun, 03 Jun 2007 20:41:00 -0000 From: Sergei Gavrikov To: Alok Singh Cc: eCos discuss list Message-ID: <20070603203930.GA12163@ubuntu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS]- fat file system (dosfs) X-SW-Source: 2007-06/txt/msg00040.txt.bz2 On Sun, Jun 03, 2007 at 11:13:23PM +0530, Alok Singh wrote: > > Hi, > Dosfs code present in CVS is capable of reading and writing to the > existing dosfs partition. > It would be nice to have the capability to create a dosfs partition too. > Any file system expert out here, who can let me know what it takes to > implement this functionality (license permitted), and if there is free > source code available somewhere for reference! I'm on search from my > side. If you didn't mean to create it under eCos..., you can use Linux as well 32 Mb ms-dos disk 1) dd if=/dev/zero of=/tmp/msdos count=64k ;# 512x64k room 2) mkfs.msdos /tmp/msdos, or mkmsdos /tmp/msdos ;# create ms-dos fs 3) mount /tmp/msdos /mnt/disk -oloop,rw ;# mount, do it as root I think that using `mtools', you can mformat it, mcopy files there, etc. Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss