public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Y Khan <ykhanportland@yahoo.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: class_device_create() and the mode of the device file in /dev.
Date: Wed, 23 May 2007 16:29:59 -0700 (PDT)	[thread overview]
Message-ID: <358502.73138.qm@web90311.mail.mud.yahoo.com> (raw)
In-Reply-To: <3ae72650705222046o352ca76epbd5c36dea7706e70@mail.gmail.com>

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

      reply	other threads:[~2007-05-23 23:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 22:49 class_device_create() and the mode of the device file in /dev Y Khan
2007-05-23  3:46 ` Kay Sievers
2007-05-23 23:29   ` Y Khan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=358502.73138.qm@web90311.mail.mud.yahoo.com \
    --to=ykhanportland@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox