You can also use a symbolic link as another way of specifying the device name when mounting a device.
安装一个设备时,您也可以使用一个符号链接来作为另外一种指定设备名的方式。
The above rule says: match a device which was named by the kernel as hdb AND where the driver is ide-disk. Name the device node with the default name and create a symbolic link to it named sparedisk.
上面规则意思是:匹配一个内核命名为hdb以及驱动为ide-disk的设备,命名设备节点为缺省名字,同时创建一个指向它的名为sparedisk的符号链接。
Symbolic name — Symbolic (human-readable) name of the device — an arbitrary name that the caller specifies, such as xi50e.
Symbolic Name—设备的符号名(人们可读)—调用程序随意指定的一个名称,比如xi50e。
The next example assumes that device_namer outputs one part for the device name, followed by any number of parts which will form additional symbolic links.
再下个例子假设device_namer输出第一部分是设备名,后面跟着的其他部分将形成另外的符号链接。
In our first example, we assume that device_namer outputs a number of parts, each one to form a symbolic link (alternative name) for the device in question.
在我们的第一个例子中,我们假设device_namer输出一些信息,每一部分形成当前设备的一个符号链接。
In our first example, we assume that device_namer outputs a number of parts, each one to form a symbolic link (alternative name) for the device in question.
在我们的第一个例子中,我们假设device_namer输出一些信息,每一部分形成当前设备的一个符号链接。
应用推荐