> Is there any way for the kernel module to do the 'mknod' commands
> from within the module? I would rather have the code create the
> inode rather than needing a separate script that creates each of
> the minor device numbers.
You _can_ do it, but it's generally frowned upon. There are two other
approaches you can take:
I just normally use a separate script, since usually you need a boot
script to load the module at boot-time anyway.....
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/