[lkml]   [2007]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: class_device_create() and the mode of the device file in /dev.
> No, the kernel is not involved in specifying /dev
> permissions. You
> have to add a udev rule to assign a mode that isn't
> the default.

Hmm...When I can create the device file automatically
then I should also be able to specify the mode. udev
can override this value from kernel if it has another
value from the user. But not having this capability in
the kernel kind of distributes the work (part 1 done
in kernel while part 2 done in user space), which is
not very friendly. Now I will have to distribute a
udev conf file along with my driver.

I can make changes to udev/kernel for this if people
think that this is also desired by others.


____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-05-24 01:33    [W:0.041 / U:0.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site