From: munisekharrms@gmail.com (Muni Sekhar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: udev & modalias files
Date: Sat, 4 Jun 2016 19:02:54 +0530 [thread overview]
Message-ID: <CAHhAz+gU1spksThC4oX5g0SE_zL_HC82ZbN9sMAsq1KtzDBOFA@mail.gmail.com> (raw)
In-Reply-To: <87vb1qumxu.fsf@nemi.mork.no>
On Sat, Jun 4, 2016 at 12:20 AM, Bj?rn Mork <bjorn@mork.no> wrote:
> Muni Sekhar <munisekharrms@gmail.com> writes:
>
>> I see lot of modalias files under /sys directory.
>>
>> For e.g:
>>
>> # cat /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/modalias
>>
>> pci:v00001556d00005555sv00004000sd00000000bc08sc05i01
>>
>>
>>
>> I would like to know which part of the kernel module creates sysfs
>> modalias file?
>
> lots of different places. Do a "git grep modalias drivers/" to see many
> of them. That particular file is created by drivers/pci/pci-sysfs.c
>
>
>
> Bj?rn
Thanks Greg & Bj?rn.
--
Thanks,
Sekhar
prev parent reply other threads:[~2016-06-04 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 16:32 udev & modalias files Muni Sekhar
2016-06-03 18:48 ` Greg KH
2016-06-03 18:50 ` Bjørn Mork
2016-06-04 13:32 ` Muni Sekhar [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=CAHhAz+gU1spksThC4oX5g0SE_zL_HC82ZbN9sMAsq1KtzDBOFA@mail.gmail.com \
--to=munisekharrms@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).