Re: creating new directories under /proc

Alexander Viro (viro@math.psu.edu)
Fri, 24 Aug 2001 11:50:14 -0400 (EDT)


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/