Re: Anyway to mknod from kernel?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 26 Oct 1999 21:37:35 +0100 (BST)


> 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

You can hack it up. Its a bad idea as you have no idea if the root file
system would even be writeable. The whole goal is to do in user space what
you can sanely without kernel help. mknod is definitely user space

Alan

-
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/