[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <358502.73138.qm@web90311.mail.mud.yahoo.com>
Date: Wed, 23 May 2007 16:29:59 -0700 (PDT)
From: Y Khan <ykhanportland@...oo.com>
To: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: 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.
-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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists