This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: FAT FS questions
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- Cc: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 4 Oct 2004 11:12:30 +0200
- Subject: Re: [ECOS] FAT FS questions
- References: <20041004073703.GD7625@lunn.ch> <NEBBKHCFDGIGIJEHDJFCKECOLMAA.pderocco@ix.netcom.com>
y> MS-DOS had a read-only attribute, with no concept of users. Even though the
> read-only attribute could be turned off, it was still useful, for preventing
> modification or deletion by "normal" code which didn't go to the trouble of
> turning it off.
>From the DOS world it has a read only bit. But from the POSIX world,
which eCos follows, that has to be mapped into owner, group and other
read, write, execute bits. Its the POSIX in the middle that makes it
complicated. Also you have problems with ".. trouble of turning it
off." Like i said, there is no chmod() so you cannot enable writing
from eCos.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss