This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CF disk/FAT16 problem
- From: Savin Zlobec <savin at elatec dot si>
- To: stephane dot royo at europe-technologies dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 02 Jul 2004 12:27:10 +0200
- Subject: [ECOS] Re: CF disk/FAT16 problem
- References: <40E51005.2080501@elatec.si>
Stéphane Royo wrote:
Thank you Savin, but I think that I used the appropriate device name
/dev/disk0/0 (0 because I have only one partition), have you got an another
idea ?
/dev/disk0/0 is the device handle for the whole disk, to access the
first partition
use /dev/disk0/1.
For the fsync function I find it into io.cxx file, could you confirm me that
I call it directly without use any upper layer ?
upper layer? ... fsync as in 'int fsync(int fd)' as defined by POSIX
(prototype in unistd.h)
savin
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss