public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] FAT filesystem
       [not found] <20040901181456.GJ4059@lunn.ch>
@ 2004-09-20 10:49 ` Iram
  0 siblings, 0 replies; only message in thread
From: Iram @ 2004-09-20 10:49 UTC (permalink / raw)
  To: ecos-discuss

Hi Savin (or whoever knows an answer)

I have created an image of a floppy disk and added a
master boot record at the top which is effectively a
copy of the boot sector of floppy. I use this image as
the FAT filesystenm loaded in my device driver.
The fileio.1.c application creates files and
directories fine. But when I create a floppy disk
image with a file already saved on floppy, that file
doesnt appear in the list of directory entries. 

Any idea why that might be?

Regards

Iram
 

> Whats not what i ment. First create the filesystem
> you want on the
> floppy. Then use dd to copy the filesystem off the
> floppy, block by
> block into a file. ie
> 
> dd if=/dev/fd0 of=fat.img
> 
> This will give you a 1.44MB file containing the FAT
> fs what is on the
> floppy.
> 
>         Andrew
>  


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-20  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040901181456.GJ4059@lunn.ch>
2004-09-20 10:49 ` [ECOS] FAT filesystem Iram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).