LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   How do we create Device Node Directory using Mknod command (http://www.linuxquestions.org/questions/showthread.php?t=4175434920)

jendeavor 10-31-2012 11:04 AM

How do we create Device Node Directory using Mknod command
 
Hi Team,
I wanted to create a device node for a character device.
In the following manner
"/dev/gdl/0" to run an application.

# cat /proc/devices | grep gdl
244 gdl_track
245 gdl
# mknod /dev/gdl/0 c 245 0
mknod: /dev/gdl/0: No such file or directory

Please let me know how we can create a device directory and then a node.

Thanks,
John

rknichols 11-01-2012 09:56 AM

The mknod command does not create directories. You need to create directory /dev/gdl first with mkdir, then create the character device node.

jendeavor 11-02-2012 05:42 AM

Mknod on NFS environment fails
 
Hello All ,
I have mounted the root FS through NFS .
And when i try to create a root on this environment i am getting "Permission Denied" error.
Can you please let me know how we can fix this issue.
Thanks,
John

rknichols 11-02-2012 08:41 AM

By default, UID/GID 0 gets mapped to an anonymous uid/gid. If you have a root file system mounted through NFS, the server needs to have set the "no_root_squash" option for this filesystem in /etc/exports.

jendeavor 11-05-2012 12:12 AM

"no_root_squash" Solved


All times are GMT -5. The time now is 12:34 PM.