Re: Creating /dev/* special files

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

 



On Sat, Jun 26, 2010 at 3:35 AM, Brian Paterni <bpaterni@xxxxxxxxx> wrote:
> Hi, I've been reading through Linux Device Drivers over the summer to try and
> get familiar with programming device drivers. I'm at the point in chapter 3
> where it hands you two little scripts, namely scull_load and scull_unload, which
> handle driver loading/unloading, creating /dev/* nodes (via mknod), and changing
> permissions on those nodes.
>
> What I'm wondering though, is how production drivers handle the creation of
> these special /dev/* files? "Real" kernel drivers do not depend on specialized
> scripts to handle this, or do they? I've grepped through my entire /etc
> directory and only found a few references to mknod in the checkroot, sysklogd,
> and mountall init scripts. Likewise, there are only few references to the mknod
> syscall in Linux's /drivers directory.

http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux