1756121 Members
2997 Online
108841 Solutions
New Discussion

major and minor

 
silusan
Regular Advisor

major and minor

The DBAs need the major number and minor number of a disk which was newly added into our 11.31 hpux server

 

which one should I give? from /dev/disk or /dev/rdisk?

 

 # ll /dev/disk/disk48
brw-r-----   1 bin        sys          1 0x00001c Aug  9  11:09  /dev/disk/disk40
#

 #
# ll /dev/rdisk/disk48
crw-r-----   1 bin        sys         13 0x00001c Aug  9  11:09 /dev/rdisk/disk40
#

 

thanks

2 REPLIES 2
Ken Grabowski
Respected Contributor

Re: major and minor

Depends on if they want the address of the block device "disk" or the raw/character device "rdisk". I would ask them which one they need.

silusan
Regular Advisor

Re: major and minor

cool :)

I gave them both and thought let thm decide whichone to use. thanks