- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: modify a major number associated to a driver
Operating System - HP-UX
1823228
Members
4317
Online
109648
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО10-23-2003 01:34 AM
тАО10-23-2003 01:34 AM
modify a major number associated to a driver
#lsdev -d sinap
Character Block Driver Class
184 -1 sinap pseudo
I need to change the major number of the driver sinap.
How I can do it (if it's possible do it...)??
many thanks
Character Block Driver Class
184 -1 sinap pseudo
I need to change the major number of the driver sinap.
How I can do it (if it's possible do it...)??
many thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 01:46 AM
тАО10-23-2003 01:46 AM
Re: modify a major number associated to a driver
No, you cannot change it by yourself.
-Tomek
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 01:49 AM
тАО10-23-2003 01:49 AM
Re: modify a major number associated to a driver
Hi,
It is possible if this driver has been written correctly (following hpux rules). Usualy this major is defined in the include of the driver, and at linking time when using mk_kernel it use a file under /usr/conf/master.d/driver_name, and in this file you should find the definition of the major number (for diag2 example):
* Driver Block major Char major
diag2 -1 232
You can modify it and link a new kernel. But be carefull, the driver is perhaps not supporting this modification.
Cheers.
It is possible if this driver has been written correctly (following hpux rules). Usualy this major is defined in the include of the driver, and at linking time when using mk_kernel it use a file under /usr/conf/master.d/driver_name, and in this file you should find the definition of the major number (for diag2 example):
* Driver Block major Char major
diag2 -1 232
You can modify it and link a new kernel. But be carefull, the driver is perhaps not supporting this modification.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 01:52 AM
тАО10-23-2003 01:52 AM
Re: modify a major number associated to a driver
Hi,
First of all why you want to change major no.
Major assigned by the system when it is configured.
Major number
Identifies the kernel driver used for I/O
Instructs HP-UX how to conduct the I/O
If you change it may not function.
If you want to test, create a new device file
using mknod command.
TT
First of all why you want to change major no.
Major assigned by the system when it is configured.
Major number
Identifies the kernel driver used for I/O
Instructs HP-UX how to conduct the I/O
If you change it may not function.
If you want to test, create a new device file
using mknod command.
TT
Attitude (not aptitude) determines altitude.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP