- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hardware path to device file
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
12-04-2001 05:59 AM
12-04-2001 05:59 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:04 AM
12-04-2001 06:04 AM
Re: Hardware path to device file
~Karvendhan M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:05 AM
12-04-2001 06:05 AM
Re: Hardware path to device file
x: card instance number
y: SCSI target id
z: logical unit number (LUN)
So in your case its cxt2d0. I can't tell you what x is without ioscan output displaying the instance number.
Best way to find the device file is to use ioscan with the -n option:
# ioscan -kfnH
That will list device all device files belonging to that device.
Cheers,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:07 AM
12-04-2001 06:07 AM
Re: Hardware path to device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:10 AM
12-04-2001 06:10 AM
Re: Hardware path to device file
Try the following command:
# insf -H 10/12/5.2.0
man insf will give you detailed explaination.
Hope it helps.
Enbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:10 AM
12-04-2001 06:10 AM
Re: Hardware path to device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:11 AM
12-04-2001 06:11 AM
Re: Hardware path to device file
ioscan -fnC disk
will give you the relation between HW Path and device file for your disk (cdrom)
Ragards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:12 AM
12-04-2001 06:12 AM
Re: Hardware path to device file
If you know the HW path, then ioscan will give you the answer:
ioscan -fnH10/12/5.2.0
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:15 AM
12-04-2001 06:15 AM
Re: Hardware path to device file
steps:
1. man mksf. read it.
2. man lsdev. read it.
3. man ioscan. read it.
4. man mknod. read it.
now you're ready for:
1. do a ioscan -f. identify the CDROM drive. see what driver it has.
2. lsdev -d
you will get the major number from this command. (the number below Character / Block)
3. Now, you have to build a 6 digits hexa number (the minor) like this:
0xyz00
where:
x - number on the interface column from ioscan output (from the bus line) - your case is 'a' from the '10' in 10base :)
y - the scsi id - your case is '2'
z - the lun - your case is '0'.
last two 00's are reserved
that leads to your needed minor number 0x0a2000
4. now do a
mknod /dev/dsk/mycdrom b
and
mknod /dev/rdsk/mycdrom c
there you are (I think).
There might be mistakes in what I've said, people that know better can correct me.
Hope you will find above readable and it will solve your problem.
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 06:17 AM
12-04-2001 06:17 AM
Re: Hardware path to device file
I'm laughing my a__ off. All you wanted was to make the 'mental' link between software and hardware? I understood something like: 'i don't know how to make it' not 'i don't know where it is'. Well, I had to re-read some docs with this occasion so I can say it helped me remember as well.
E.