linux udev Rules files 理解

在配置11g rac的时候发现网上对 udev Rules files 有多重写法
以下写法相同
scsi_id -g -u -s /block/sdd等于 scsi_id -g -u -s /block/sdd/sdd1
以下写法相同
/sbin/scsi_id -g -u -d /dev/$parent等于 /sbin/scsi_id -g -u -d %p
 
$devpath, %p

The devpath of the device.

$parent, %P

The node name of the parent device.

 

对udev更深的理解参考http://www.freedesktop.org/software/systemd/man/udev.html

请使用浏览器的分享功能分享到微信等