On Tuesday, 21 October 2003 at 13:25:20 +0200, rk47 wrote:
> What is a "unit" number of a device

That depends a lot on the device.  For SCSI disks, you select the unit
number on the drive itself.

> and how does it relate to the minor number of the device.

Typically the last few bits of the minor number map directly to the
unit number.

> Is there a generic relationship or dowes it differ between devives.

"Yes".

Look at the section man page for the device in question.  It *should*
give that mapping.  If it doesn't, the header files are (maybe) your
friend.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to