How to find major/minor device number?

From: Xavier <xavier_at_rootshell.be>
Date: Wed, 16 Jan 2002 12:41:27 +0100 (CET)

HI,

I know this is maybe an basic question but, how do I find the major/minor
device number used by, for example, /dev/disk/dsk31c ?

'ls -l /dev/disk/dsk31' gives:

brw------- 1 root system 19,599 Jan 16 12:19 /dev/disk/dsk31c

Is it "19" and "599" ? I cant't find any relation in /dev/MAKEDEV!

Xavier

--
http://www.rootshell.be
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc
Received on Wed Jan 16 2002 - 11:41:37 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT