Re: How to put something in /proc

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Sep 10 2000 - 05:28:10 EST


On Sun, 10 Sep 2000, Andrew Morton wrote:

> Sigh.
>
> --- linux-2.4.0-test8/fs/proc/generic.c Thu Aug 24 21:07:24 2000
> +++ linux-akpm/fs/proc/generic.c Sun Sep 10 21:20:45 2000
> @@ -346,6 +346,13 @@
> lookup: proc_lookup,
> };
>
> +/*
> + * _Don't_
> + *
> + * proc_register() is dead. Use create_proc_read_entry() instead.

ITYM

% ed fs/proc/generic.c <<EOF
,s/proc_register/insert_entry/g
w
q
EOF

Out of sight, out of mind...

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:13 EST