HP-UX: Understanding device file naming convention

by on November 19, 2005 · 0 comments· Last updated November 19, 2005

Both HP-UX and Sun Solars uses almost same device file naming convention. Typically it look like as follows:

c#t#d#

Let us try to understand what those letters

  • c - Instance number of interface card
  • t - SCSI target address
  • d - Device number aka SCSI LUN

Use ioscan command to get information about your device under HP-UX. A block device file is always in /dev/dsk and a character device file in /dev/rdsk directory.

  • /dev/dsk/c0t5d0 - Block device file
  • /dev/rdsk/c0t5d0 - Raw device file

I just wish both of them were use device file naming convention like linux (/dev/sda1).



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 2 + 13 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: