-Found bugs in yaffs
-
-Error code 0 bug (run out of handles)
- By opening lots of files and not closing them yaffs can run out of handles.
- The error code given by yaffs_get_error() returns 0. this error is not defined in yportenv.h
-
-
-ENOENT error is generated when opening a new file with O_CREATE.
- This should not be happening and has been logged as an error.
- To regenerate this error remove the emfile and use the seed 1288064149
-
-EACCES error
- This program tries to open a new file in yaffs. The yaffs_open() function returns a -1 handle and gives an error of EACCES.
- This bug only seems to happen when the emfile has a lot of files in it.
-
-Mkdir with slash error
- Yaffs' mkdir function will not work if the path ends in a slash.
- i.e. /yaffs2/new_dir/
- This is a known bug and is not likely to be fixed.
- To get around this bug remove the slash on the end.
- i.e. /yaffs2/new_dir
-
-
-
-BUG in yaffs caused by the program yaffs_importer.py in /direct/python/
- when the emfile is full yaffs gives these errors when trying to open a file:
-
-('adding path ', '/yaffs2/', ' to ', 'yaffs2/direct/basic-test/yaffs_tagscompat.o', ' resulting path: ', '/yaffs2/yaffs2/direct/basic-test/yaffs_tagscompat.o')
-('creating file:', '/yaffs2/yaffs2/direct/basic-test/yaffs_tagscompat.o')
-('mode', 33188)
-opening file
-erase block 248
-('current_handle', -1)
-yaffs free space: 0
-yaffs is out of space exiting program
-error with yaffs lseeking
-error######################################
-('error code', -9)
-error message EBADF
-('length of data to be written', 25944)
-('error writing file:', -1)
-error######################################
-('error code', -9)
-error message EBADF
-('error truncating file:', -1)
-error######################################
-('error code', -9)
-error message EBADF
-('error closing file:', -1)
-error######################################
-('error code', -9)
-error message EBADF
-('error chmoding file:', -1)
-error######################################
-('error code', -2)
-error message ENOENT
-
- yaffs should be giving a no memory error insted of a EBADF.