Re: class_device_create() and the mode of the device file in /dev.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-Y



       
____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux