To create a character-type device file by using a udev rules file:
Use the udev rules file to create a character-type device file.
Edit the /etc/udev/rules.d/60-raw.rules file.
For example, you might edit the file as follows:
ACTION=="add", KERNEL=="sddlmaa", RUN+="/bin/raw /dev/raw/raw1 %N"
Restart the host or execute the start_udev command.
The editing performed in step 1 is applied when the host is restarted or the start_udev command is executed.
The following shows an example of executing the start_udev command:
# /sbin/start_udev