Help: IMFS and opendir/readdir.

Jake Janovetz janovetz at
Wed Nov 15 17:03:48 UTC 2000

This problem has recently been found and is currently being investigated
by Joel and Jennifer at OAR.  They estimated a couple days to patch
this, but they're pretty busy...


On Wed, Nov 15, 2000 at 07:41:08PM +0300, Sergei Organov wrote:
> Hello,
> I'm using rtems-ss-20000929 snapshot.
> I've mounted my own file-system on the '/log' directory. However, when FTPD
> executes opendir("/log")/readdir() in response to 'ls /log' command issued in
> FTP client, my routines aren't called at all. FTP then shows empty directory. 
> My routines are called when I issue 'get /log/something' and downloading works 
> great, so my file-system is indeed mounted.
> I guess something is wrong with 'imfs_dir_open' and/or 'imfs_dir_read'
> routines because they just output IMFS directory contents without checking if
> another file-system is mounted on the directory. Am I right?
> Please help!
> BTW, 'ls /dev' output is also empty, while 'cd /dev' and then 'ls' gives the
> list of registered devices. But this seems to be unrelated bug.
> BR,
> Sergei Organov.

More information about the users mailing list