This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
FAT filesystem
- From: Iram <iram_raza at yahoo dot co dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 20 Sep 2004 10:48:39 +0100 (BST)
- Subject: [ECOS] FAT filesystem
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