Creating A Character-Type Device File For An Hdlm Device; When Using Red Hat Enterprise Linux 5 Or Red Hat Enterprise Linux 6; Server - Hitachi XP P9500 User Manual

Hitachi dynamic link manager software user's guide for linux (6.x) (hit5203-96004, october 2011)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

3. Creating an HDLM Environment

3.20 Creating a Character-Type Device File for an HDLM Device

This section describes how to create a character-type device file for an HDLM device.
HDLM creates only a block-type device under
If the OS is Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6, use an
rule file to create the character-type device file. If the OS is Red Hat
udev
Enterprise Linux AS4/ES4 or SUSE LINUX Enterprise Server, use the
command to create the character-type device file.
The following shows the difference between these two methods:
• The character-type device file created by using the
when the host is restarted.
• The character-type device file created by using an
deleted when the host is restarted.
3.20.1 When Using Red Hat Enterprise Linux 5 or Red Hat Enterprise
Linux 6
Use the
udev
To create a character-type device file by using an
1.
Edit the
/etc/udev/rules.d/60-raw.rules
For example, you might edit the file as follows:
ACTION=="add", KERNEL=="sddlmaa", RUN+="/bin/raw /dev/raw/
raw1 %N"
2.
Restart the host or execute the
The editing performed in step 1 is applied when the host is restarted or the
start_udev
The following shows an example of executing the
# /sbin/start_udev
3.20.2 When Using Red Hat Enterprise Linux AS4/ES4 or SUSE
LINUX Enterprise Server
A character-type device file is created from the HDLM device using the Linux
command. The following is an example of executing the
device.
282
rule file to create a character-type device file.
start_udev
command is executed.
.
/dev
command is deleted
raw
rule file is not
udev
rule file:
udev
file.
command.
command:
start_udev
command for an HDLM
raw
raw
raw

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dynamic link manager

Table of Contents