IMFS_GENERIC_INITIALIZER deprecated?

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 7 19:44:00 UTC 2016



----- Am 7. Mrz 2016 um 20:07 schrieb Joel Sherrill joel at rtems.org:

> On Mon, Mar 7, 2016 at 12:04 PM, Isaac Gutekunst <isaac.gutekunst at vecna.com>
> wrote:
> 
>> Hi Developers,
>>
>> We have used IMFS_GENERIC_INITIALIZER as part of some code that makes IMFS
>> nodes for devices.

The IMFS generic nodes have no stable API yet. For an examples see:

cpukit/dev/i2c/i2c-bus.c
cpukit/dev/i2c/i2c-dev.c
cpukit/libblock/src/blkdev-imfs.c

>>
>>
> Can't you use the POSIX mknod() or the wrapper method rtems_io_register_
> name()?

This stuff has a high overhead and doesn't give you access to all filesystem handlers.



More information about the devel mailing list