comparison doc/TIFFS-Overview @ 920:0306449ba467

doc/TIFFS-Overview: document classic filename and pathname limits
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Dec 2022 21:08:05 +0000
parents 23f41a61ff7a
children
comparison
equal deleted inserted replaced
919:1f27fc13eab7 920:0306449ba467
235 All of the above are common and well-known principles, successfully implemented 235 All of the above are common and well-known principles, successfully implemented
236 in well-known flash file systems such as JFFS2 in Linux. TIFFS is absolutely 236 in well-known flash file systems such as JFFS2 in Linux. TIFFS is absolutely
237 no different in this regard; for the implementation details, read the source 237 no different in this regard; for the implementation details, read the source
238 code. 238 code.
239 239
240 TIFFS filename and pathname limits
241 ==================================
242
243 Classic TIFFS, as in the canonical firmware source from TI, imposes the
244 following limits on the content written into FFS:
245
246 * Each elementary filename or pathname component (the name of each individual
247 file or subdirectory within its parent directory) is limited to 20 characters;
248
249 * The set of allowed characters in these elementary filenames is limited to
250 [A-Za-z0-9_.,+%$#-];
251
252 * The maximum pathname depth is limited to 6.
253
254 As an illustration of the pathname depth limit, the deepest allowed path to a
255 non-directory file is /d1/d2/d3/d4/d5/file. It is also possible to have a
256 directory nesting of /d1/d2/d3/d4/d5/d6, but in this case the deepest directory
257 can only be empty.
258
240 How this FFS comes into being 259 How this FFS comes into being
241 ============================= 260 =============================
242 261
243 (This section is only relevant to you if you plan on physically producing your 262 (This section is only relevant to you if you plan on physically producing your
244 own GSM phones or modems on your own factory production line, like we currently 263 own GSM phones or modems on your own factory production line, like we currently