Re: Can I do ioctl() on a device file from inside a module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 08, 2004 at 05:56:08PM -0800, David Wuertele wrote:
> I want to write a module that opens up a device (known to the userland
> filesystem as "/dev/mtd/0"), runs some ioctl()s on it, and writes some
> data to it.

Do that in a userspace program, not from within the kernel.

good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux