Not only does this mean that MAKEDEV is no longer needed (since all registered devices simply "appear" in /dev), but it means that /dev is no longer cluttered with hundreds of "dud" device nodes.
这不仅仅意味着不再需要MAKEDEV(因为所有注册的设备都只“出现”在 /dev 中),还意味着 /dev 不再被成百个“无用的”设备节点所充斥。
Dev is the device number (0, 1, 0) obtained from cdrecord -scanbus.
dev是从cdrecord -scanbus获得的设备号(0,1,0)。
While EVMS can see all the storage resources on your system, it may not create /dev/evms/ device node entries for all of the resources it finds.
尽管EVMS可以看到系统上所有的存储资源,但它可能不会为它找到的所有资源都创建 /dev/evms/设备节点项。
Dev — Contains all the device nodes used in the device.
dev—包含用在设备中的所有设备节点。
The KVM module in the kernel exposes the virtualized hardware through the /dev/kvm character device.
内核中的KVM通过 /dev/kvm字符设备来公开虚拟化后的硬件。
Using Software RAID, you can combine these partitions and address them as a single RAID device, /dev/md0.
使用软件RAID,您就能将这些分区组合起来,并将它们作为单个 RAID设备 /dev/md0 来处理。
Use your card's device in place of /dev/sdg in the following example
使用您卡的设备名替换以下示例中的 /dev/sdg
Unmount any partitions on the card. Use your card's device name in place of /dev/sdg in the following example
卸载卡上的分区,在下面示例中使用您卡的设备名替换 /dev/sdg
After a device driver configures its interfaces in the dev structure, a call to register_netdevice makes it available for use.
设备驱动程序在dev结构中配置好自己的接口之后,调用register_netdevice便可以使用该配置。
Using the disk model, DRBD exports a special device (/dev/drbdX) that you can use just like a regular disk.
使用磁盘模式,DRBD输出一个特殊设备(/dev/drbdX),您可以像使用一个普通磁盘那样使用它。
Software packages are tracked down via the /var/sadm/install directory path, and file systems are mapped to device files like /dev/dsk/c0t0d0s0 with /etc/vfstab.
软件包可以通过 /var/sadm/install目录路径来访问,文件系统映射到设备文件中,如 /dev/dsk/c0t0d0s0和 /etc/vfstab。
Recently, a new application program interface (NAPI) was introduced into the kernel to allow drivers to interface with the device agnostic layer (dev).
最近,内核中引入了一种新的应用程序编程接口(NAPI),该接口允许驱动程序与设备无关层(dev)进行交互。
So, what major number does the device driver developer supply with the call to register_? Dev ?
那么,设备驱动程序开发人员为调用register _——?dev提供的主设备号应该是什么呢?
FD 4 is where things get a bit more interesting, since it is a write-only handle to a character device, essentially /dev/log.
FD4 中的内容比较有趣,因为它是一个字符设备的只读句柄,实质上是 /dev/log。
The first unused serial device (/dev/ttySx) gets allotted to the card, which can then be accessed as if it where a serial device.
第一个未使用的串行设备(/dev/ttySx)被分配给此卡,然后此卡就可以被当成串行设备访问。
I temporarily changed the primary dump device to /dev/sysdumpnull. Then I removed the disk from the volume group and the AIX Object Data Manager (ODM), with the rmdev command.
我临时将主转储设备更改为 /dev/sysdumpnull,然后用rmdev命令从卷组和AIXObjectDataManager (ODM)删除了这个磁盘。
The kernel module exports a device called /dev/kvm, which enables a guest mode of the kernel (in addition to the traditional kernel and user modes).
这个内核模块导出了一个名为 /dev/kvm的设备,它可以启用内核的客户模式(除了传统的内核模式和用户模式)。
The first rule ensures that the mice device node appears exclusively in the /dev/input directory (by default it would be at /dev/mice).
第一条规则确保鼠标设备节点一定出现在/dev/input目录下(缺省是在/dev/mice下面)。
Pass the command the name of the disk device to which you want to install it—typically, /dev/sda or /dev/hda.
将想要安装的磁盘设备名传递给命令 — 通常是 /dev/sda 或 /dev/hda。
We then loop, rescanning the SCSI bus (by echoing a command to a special file in the /proc pseudo-filesystem and calling devfsd) until the root device (/dev/sda1 in my case) is present.
然后我们进行循环,重新扫描SCSI总线(通过将命令回送到 /procpseudo-filesystem中的特殊文件,并调用devfsd ),直到出现根设备(我的例子中为 /dev/sda1)。
The device associated with the frame buffer is /dev/fb0 (Major Number 29, Minor Number 0).
与帧缓冲区有关的设备是 /dev/fb0(主设备号29,次设备号0)。
File descriptors 0, 1, and 2 are open to /dev/null (Solaris makes heavy use of symlinks, which is why the pseudo device is shown).
文件描述符0、1和2 分配给了 /dev/null(Solaris大量使用符号链接,所以这里显示了相应的伪设备)。
The first two instruct devfsd to make a /dev/cdrom symlink appear when the /dev/cdrom/cdrom0 device is registered.
头两行告诉devfsd ,当注册 /dev/cdrom/cdrom() 时,使 /dev/cdrom 符号链接出现。
The first two instruct devfsd to make a /dev/cdrom symlink appear when the /dev/cdrom/cdrom0 device is registered.
头两行告诉devfsd ,当注册 /dev/cdrom/cdrom() 时,使 /dev/cdrom 符号链接出现。
应用推荐