Re: How to document dimension units for virtual files?

From: Michael Holzheu
Date: Wed Nov 08 2006 - 13:27:25 EST


Randy,

Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote on 11/08/2006 06:04:54 PM:

> On Wed, 8 Nov 2006 17:54:12 +0100 Michael Holzheu wrote:

[snip]

> 01:00:00.000000000 +0100
> > +++ linux-2.6.18-exp-data-doc/Documentation/filesystems/ExportData
> 2006-11-08 17:44:59.000000000 +0100
> > @@ -0,0 +1,47 @@
> > +
> > +Export data via virtual File Systems
> > +====================================
> > +
> > +If you want to export data to userspace via virtual filesystems
> > +like procfs, sysfs, debugfs etc., the following rules are recommended:
> > +
> > +- Export only one value in one virtual file.
>
> I don't think that makes sense for procfs. It's too late,
> but even it weren't, we don't need a large increase in the number
> of procfs files.
>
> And debugfs shouldn't be constrained either.
> It's not a regular user interface like sysfs is.
>

Ok, fine:

If you want to export data to userspace via a virtual filesystem
like sysfs, the following rules are recommended:

....

Michael

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