Operating System - HP-UX
1837257 Members
2484 Online
110115 Solutions
New Discussion

Re: major numbers for character and block files

 
SOLVED
Go to solution
Jdamian
Respected Contributor

major numbers for character and block files

lsdev reported me the major numbers for block and device files.

I saw that, in some cases, both block and character majors match, but in others, they don't.

My doubt is whether a same value (for example, 123) may be the major of block special files and the major of char special files but of TWO different drivers.

In other words, a major value is UNIQUE as block major (or as char major) OR as block and character major ?
2 REPLIES 2
harry d brown jr
Honored Contributor
Solution

Re: major numbers for character and block files


Sure:

Char Block Driver Class
188.....31..sdisk..disk
.31.....-1....tun.pseudo

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: major numbers for character and block files

Here's a good reference:

http://docs.hp.com/hpux/onlinedocs/B2355-90698/00/00/76-con.html

live free or die
harry
Live Free or Die