HP3000-L Archives

May 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Tue, 19 May 1998 16:13:37 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
After I had instructions to do:
        mknod /dev/tape8 c 0 8
I could do tar -tvf /dev/tape8

Then I got this explanation

0 is the minor number whilst 8 is the major number. The major number
specifies the major device type (for example, the device driver number).
The minor number specifies the device location, which is typically, but
not always, the unit, drive, HP-IB bus address and/or line number. We
usually use 0 for the minor number but I've only done mknod for tape
devices and terminals...

Character device special files are used for devices that can transfer
single bytes at a time, such as tape drives,  printers, plotters, disk
drives operating in "raw" mode, and terminals.  Block device special
files are used for devices that usually transfer a block of data at a
time, such as disk drives.

Hope the helps!

Yu-Hsin Seah
Response Center, HP

*********************
* Keven Miller   KC7LYD
* [log in to unmask]   (Salt Lake City, Utah, USA)
* ICQ 5721825
*********************

ATOM RSS1 RSS2