Re: [ANNOUNCE] Ramback: faster than a speeding bullet

From: Greg KH
Date: Tue Mar 11 2008 - 02:34:07 EST


On Mon, Mar 10, 2008 at 09:22:14PM -0800, Daniel Phillips wrote:
> On Monday 10 March 2008 22:06, Greg KH wrote:
> > On Sun, Mar 09, 2008 at 10:46:16PM -0800, Daniel Phillips wrote:
> > > Set ramback to flush mode:
> > >
> > > echo 1 >/proc/driver/ramback/<devname>
> >
> > /proc is so 1990's. As your code has nothing to do with processes,
> > please don't add new files in /proc/. sysfs is there for you to do
> > stuff like this.
>
> Demonstrate some advantage and I will think about it.

Again, as your code has nothing to do with "processes", please do not
add new files to /proc.

As you are a filesystem, why not /sys/fs/ ?

It ends up with smaller code than procfs stuff as well, a good and nice
advantage.

thanks,

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