Re: [RFC/PATCH] sysfs'ify video4linux

From: Greg KH (greg@kroah.com)
Date: Wed Jul 16 2003 - 11:23:15 EST


On Wed, Jul 16, 2003 at 06:33:02AM -0700, Mark McClelland wrote:
>
> Is there a convention for naming driver-specific files in /sys? E.g.:
> ov511_foo, _foo, etc...? I don't want to pollute the namespace.

You get your own subdirectory to play in, so there really isn't much you
can do to hurt the namespace :)

That being said, stay away from files named "device", "driver", and
"dev". They are used by the driver core (well, "dev" isn't, but each
class provides it...).

Just remember, one value per file and everyone will be happy.

thanks,

greg k-h
-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:25 EST