we want to create a node for a tape-drive, but we don't know what exactly we
must use as the parameters "major-device" and "minor-device". the man pages
say, the command looks like this:
mknod /dev/whatever c major minor
can someone please give us a hint what we should specify as the major and
minor device ?
an help highly appreciated. thank you.
Peter
You are stuck as long as you do not know what the systems' major and
minor numbers are for tape devices; man mt might reveal something or
give some pointers.
Ta',
Juergen
--
\ Real name : Jürgen Heinzl \ no flames /
\ EMail Private : jue...@monocerus.demon.co.uk \ send money instead /
No clue --- you didn't specify _which_ version of unix you are
using, and this is a detail that is fairly arbritrary between
different vendor's releases. But before you ask again on the
newsgroups, may I suggest reading the man page for "tape" or
some variation (e.g., "mt", "st"; browse sections 4 and 5 of
your man page directory) --- the man pages for hardware devices
usually will mention what major number is associated with the
device, and if the meaning of the minor number is "nonobvious"
then that is usually documented there also.
--Ken Pizzini