- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do I obtain the minor # for a device?
Operating System - HP-UX
1819859
Members
2747
Online
109607
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
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
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
тАО12-02-2003 11:54 PM
тАО12-02-2003 11:54 PM
how do I obtain the minor # for a device?
how do I obtain the minor # for a device?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:57 PM
тАО12-02-2003 11:57 PM
Re: how do I obtain the minor # for a device?
in your /dev directory (dsk for your disks or any subdirectory you're looking for)
when you do a ll, it will lists you all the devices under that directory.
crw-r----- 1 root sys 64 0x040007 Nov 10 14:56 rlvmount
this is an exemple, but the 0x number, the first two numbers following the 0x are the major numbers, and the last 4 the minor numbers.
when you do a ll, it will lists you all the devices under that directory.
crw-r----- 1 root sys 64 0x040007 Nov 10 14:56 rlvmount
this is an exemple, but the 0x number, the first two numbers following the 0x are the major numbers, and the last 4 the minor numbers.
Cooperation is doing with a smile what you have to do anyhow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2003 11:57 PM
тАО12-02-2003 11:57 PM
Re: how do I obtain the minor # for a device?
Do a listing of the device:
crw--w--w- 1 bin bin 193 0x000000 Dec 23 2002 tty0p0
In this example 193 is the major number that corresponds to the device driver.
# lsdev |grep 193
193 -1 mux2 tty
The 0x000000 is the minor number.
crw--w--w- 1 bin bin 193 0x000000 Dec 23 2002 tty0p0
In this example 193 is the major number that corresponds to the device driver.
# lsdev |grep 193
193 -1 mux2 tty
The 0x000000 is the minor number.
"Downtime is a Crime."
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