views:

121

answers:

2

I would like to create a pseudo filesystem like /proc to access an applications configuration.

How could i achieve this or where could i find some introductory dokumentation about it?

+12  A: 

The easiest way is to use FUSE. This is particularly easy with high-level language bindings, such as fuse-python.

Marcelo Cantos
+4  A: 

Perhaps you want to have a look at sysfs

Daniel Băluţă
I thought that sysfs was for accessing kernel data, and wasn't suitable for applications which presumably live in user space.
Dipstick
the same thing happens with /proc filesystem. It is designed to export to user space applications kernel internal information.
Daniel Băluţă
Strange, I guess I'm not reading the question correctly. It seems like the OP wants to access configuration data for a running user space application, not a kernel thread.
Tim Post