Subject: | |
From: | |
Reply To: | |
Date: | Tue, 19 May 1998 16:13:37 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
*********************
|
|
|