what is the user space header file for mtdchar.c kernel driver

Jamie Lokier jamie at shareable.org
Tue Feb 5 20:46:18 EST 2008

Vinit Agnihotri wrote:
> What exactly do you want to do with mtdchar??
> To access char driver you need to use dev file /dev/mtdchar,
> it doesn't need any header file.

Actually, to use the dev file's ioctls, you really do need a copy of
<mtd/mtd-user.h> and <mtd/mtd-abi.h>.

They are in the Linux kernel source tree under linux/include/mtd/, and
also in the flash utilities under include/mtd/.

-- Jamie

More information about the linux-mtd mailing list