Re: creating new directories under /proc

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Aug 24 2001 - 10:50:14 EST


On Fri, 24 Aug 2001, Christian Widmer wrote:

> to create a new file in the proc file system i can use
> create_proc_read_entry("/proc/driver/my_new_file", 0, 0, my_proc, 0)
>
> but what if i want to register my_new_file under a directory
> /proc/driver/my_driver_dir/. how do i create a new directory under
> the proc tree?

proc_mkdir()

-
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 : Fri Aug 31 2001 - 21:00:10 EST