This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FAT FS questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]