[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080311050638.GA12498@kroah.com>
Date: Mon, 10 Mar 2008 22:06:38 -0700
From: Greg KH <greg@...ah.com>
To: Daniel Phillips <phillips@...nq.net>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [ANNOUNCE] Ramback: faster than a speeding bullet
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.
> Show ramback status:
>
> cat /proc/driver/ramback/<devname>
>
> Progress monitor:
>
> watch -n1 cat /proc/driver/ramback/<devname>
Use debugfs for stuff like debug info like this.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists