- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why use major number as 64.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2007 12:54 PM
06-23-2007 12:54 PM
Why use major number as 64.
Can anyone explain ,
why we use major number as 64 ?
Can we change the major ?
Is it depend on kernal bit ? ( 32bit 64 bit)
One more question
Where will be the default loaded kernal drivers located in hp-ux ?
Jai,,,,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2007 01:47 PM
06-23-2007 01:47 PM
Re: Why use major number as 64.
1) Because that's the way the LVM device driver was designed.
2) No (at least without great difficulty and access to source code).
3) No.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2007 03:15 PM
06-23-2007 03:15 PM
Re: Why use major number as 64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 12:43 AM
06-24-2007 12:43 AM
Re: Why use major number as 64.
We don't use major number as 64 every time. major number represents the kernel driver use for the device.
So major number change accourding to the device that we use.
64 mean, it is related to lvm driver. if you use another device , the major number change accourding to that driver.
major number depends on Kernel driver not on the kernel bit.
Thanks & Regards
Dhananjaya Amarakoon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 01:43 AM
06-24-2007 01:43 AM
Re: Why use major number as 64.
major number associates the driver number which the kernel uses when it access the devices.this number cannot is fixed.
For LVM it is 64. you can see the varios device driver major number using the lsdev command.
node2#lsdev | more
Character Block Driver Class
0 -1 cn pseudo
1 -1 asio0 tty
2 0 sioflop unknown
2 0 sioflop unknown
3 -1 mm pseudo
4 -1 iomem pseudo
5 -1 dev_olar olar
6 -1 consp1 unknown
7 -1 SCentIf unknown
8 -1 udp6 pseudo
10 -1 udp pseudo
11 -1 tcp6 pseudo
12 -1 tcp pseudo
13 -1 rawip6 pseudo
14 -1 rawip pseudo
15 -1 nuls pseudo
16 -1 ptym ptym
17 -1 ptys ptys
18 -1 ip6 pseudo
19 -1 ip pseudo
20 -1 arp pseudo
21 -1 func0 tty
22 -1 gvid unknown
23 -1 olar_psm_if olar
25 -1 ciss ext_bus
26 -1 tlcotsod pseudo
27 -1 dmem pseudo
28 -1 diag0 diag
31 -1 tlcots pseudo
32 -1 tlclts pseudo
33 -1 lpr0 unknown
36 -1 devkrs pseudo
37 1 dmp vxvm
44 -1 usbd unknown
45 -1 hub unknown
46 -1 netdiag1 unknown
48 -1 hid unknown
49 -1 hcd unknown
50 -1 evp pseudo
51 -1 fcd fc
54 -1 fcp fcp
57 -1 fddi4 lan
58 -1 ipmi unknown
61 -1 ipsecpol pseudo
62 -1 ipseckey pseudo
63 -1 mpt ext_bus
64 64 lv lvm
regds,
nishith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 01:46 AM
06-24-2007 01:46 AM
Re: Why use major number as 64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2007 09:23 AM
06-24-2007 09:23 AM
Re: Why use major number as 64.
Now the ID numbers are setup by the driver writers and may change between major versions of the OS. So a tape driver ID number may be different between version 9.0, 10.0 and 11.11.
The default drivers are included in the /stand/system file, but it is easier to get started with HP-UX kernel features using the sam program.
Bill Hassell, sysadmin