lkml.org 
[lkml]   [2008]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-03-11 06:11    [W:0.172 / U:2.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site