difference in behavior between 2.6.18 and 2.6.33 while using mknod
Hi All,
I am using mknod function in my driver to create a device file. Code:
mknod("/dev/sampledev", S_IFCHR|S_IRUGO|S_IWUGO, MKDEV(SAMPLE_MAJOR, 0)); Quote:
Quote:
Thanks in advance, |
Umask?? Permissions??
|
Same Error
Hi All
Me also has got the same write permission problem while using the mknod for kernel 2.6.32. I checked the umask values and permissions all. Please any one can try and give the answer to that.. Please if anyone help for that, it will be better to me. Thanks, G.Ananda Babu. |
If everything else is the same, the difference might just be the one you mentioned - 2.6.18 vs 2.6.33. I would compare options also. If IFCHR, S_IRUGO, & S_IWUGO are variables, check them with
Quote:
Quote:
|
All times are GMT -5. The time now is 01:35 AM. |