On 03/07/2016 02:44 PM, Sebastian Huber wrote:


----- Am 7. Mrz 2016 um 20:07 schrieb Joel Sherrill j...@rtems.org:

On Mon, Mar 7, 2016 at 12:04 PM, Isaac Gutekunst <isaac.guteku...@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
That's what I based my implementation on.. Silly of me not to check these file first. Thanks, that was enough to get this to work again.

Isaac

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.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to