On Sat, Nov 13, 1999 at 01:53:33AM +0100, [EMAIL PROTECTED] wrote:
>  root# mknod -m permissions /dev/st0 type major minor
>  
>  but what are the parameters for:
>  
>  -m: is this necessary?
>  permissions: value?
>  type: value?
>  major: value?
>  minor: value?

-m specifies the permissions on the device id file.  This is very important.
The permissions on that file determine what access the kernel allows to
the actual device.

type, major, and minor can be found in Documentation/devices.txt in the
kernel source:

  9 char    SCSI tape devices
          0 = /dev/st0      First SCSI tape, mode 0
          1 = /dev/st1      Second SCSI tape, mode 0
              ...

So... type char, major 9, and minor 0.

mknod -m 660 /dev/st0 c 9 0

-- 
Steve Borho


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to