An Example of Adding a Peripheral
In this section, we'll construct a device file for a tape drive. Chapter 8 covers the process of using device files and all Logical Volume Manager commands for adding disk devices that you may want to view as well. Before we construct a device file, let's view two existing device files on a workstation (what we used to call a Series 700) and see where some of this information appears. The first long listing is that of the tape drive, and the second is the disk, both of which are on the workstation in the earlier listings.
(on workstation)
$ ll /dev/rmt/0m
crw-rw-rw- 2 bin bin 205 0x003000 Feb 12 03:00 /dev/rmt/0m
(on workstation)
$ ll /dev/dsk/c0t1d0 brw-r----- 1 bin sys 31 0x001000 Feb 12 03:01 /dev/dsk/c0t1d0 ...
Get HP-UX 11i System Administration Handbook and Toolkit, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.