lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
>
>As I said in previous messages, my driver is a kind of virtual network
>device (imagine something like "snull" in LDD3) and my question was:
>what would be the right way to configure it? I know, i know, there is
>not a unique question for that, but I'm sure at least there are
>suggestions. Some years ago, maybe there was no alternative other than
>using system calls or ioctls, but the spectrum is a lot wider now.
>
>I try to resume here the different ways that could be used, and their
>original purpose:
>
>* SYSFS: this is to export system information
>* CONFIGFS: this is to configure kernel modules/subsystems.

So there basically is an "exportfs" (sysfs) and an "importfs" (configfs).
[This has nothing to do with the nfs-exportfs for the moment.]
Can't these be merged to have a "importexportfs", would make things
simpler. Especially with system parameters (exported stuff, /sys) can be
changed (aka imported).


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-01 17:20    [W:0.342 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site