Results 1 to 4 of 4
Hello everyone,
I am trying to create a program which will create a directory using Linux Kernel.
Any tipps or hints on how to do that ?
thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-13-2006 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 7
Create a directory using Linux kernel
Hello everyone,
I am trying to create a program which will create a directory using Linux Kernel.
Any tipps or hints on how to do that ?
thanks
- 09-13-2006 #2
Why do you need to use the kernel to let your program create a directory? Elaborate on this program of yours please.
Registered Linux user #270181
TechieMoe's Tech Rants
- 09-13-2006 #3Just Joined!
- Join Date
- Sep 2006
- Posts
- 7
This is an assignment from my lecturer.
Originally Posted by techieMoe
I am not asking somebody to solve it for myself.
But if someone can give me a hint on how to do that I would be thankful
- 09-13-2006 #4
Take a look at sys_mkdir syscall:
/usr/src/your_linux_source/fs/namei.c
It's not a complex system call.
Best Regards


Reply With Quote
