This is the mail archive of the ecos-patches@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] |
On Thu, Jun 17, 2004 at 10:07:15AM +0000, eibach@gdsys.de wrote: > Hi, > > this adds support for information about used and available space in > JFFS2 (ecos). This information is received via cyg_fs_getinfo(). The > keys for cyg_fs_getinfo() are FS_INFO_FREESIZE and FS_INFO_USEDSIZE. > > Regards, > Dirk Hi Dirk I've taken a look at the patch. Adding those macros to nodelist.h is the wrong thing to do. They were replaced by variables last October. I've modified your code to do what i think is the correct thing. I also added code to the ROMFS to implement getting the the used and free size of the filesystem. Please could you test this patch before i commit it. It would also be nice if you could add support to the RAM and FAT filesystem code. Thanks Andrew
Attachment:
jffs2_getfreespace.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |