- Timestamp:
-
02/23/10 07:48:38 (14 years ago)
- Author:
-
ChrisJohns
- Comment:
-
/* Using the RFS */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v7
|
v8
|
|
75 | 75 | |
76 | 76 | Regular files are an inode with a block map. Internally the RFS code maintains the inode data in memory while a file is open. If the file is opened a second time the inode data is shared between the file handles. This allows the POSIX required time fields to be maintained with minimal overhead. |
77 | | = Using the RFS = |
| 77 | = RFS Shell Configuration = |
78 | 78 | |
79 | 79 | |
80 | | The easiest way to use the RFS and to play with it is to enable the shell in your application. To do this add to the file that handles your {{{condefs.h</code> defines: |
| 80 | The easiest way to use the RFS and to play with it is to enable the shell in your application. To do this add to the file that handles your <tt>condefs.h</tt> defines: |
81 | 81 | |
82 | 82 | #define CONFIGURE_SHELL_COMMANDS_INIT |
… |
… |
|
103 | 103 | flash disk erased successful |
104 | 104 | |
105 | | The {{{fderase</code> command can be found in the RFS test application. Next we format the disk with the RFS format command. This command is: |
| 105 | The <tt>fderase</tt> command can be found in the RFS test application. Next we format the disk with the RFS format command. This command is: |
106 | 106 | |
107 | 107 | <blockquote> |
… |
… |
|
149 | 149 | blocks used: 84 (5.5%) |
150 | 150 | inodes used: 1 (0.0%) |
| 151 | = RFS Programable Configuration = |