[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LPRng & printer Port



"Jorge Sousa" wrote:
  >I'm glad you raised that issue, how can we know what's in the kernel??
  >
Like this:

$ cat /proc/devices
Character devices:
 1 mem
 2 pty
 3 ttyp
 4 ttyp
 5 cua
 6 lp
 7 vcs
 9 st
10 misc
14 sound
21 sg
30 socksys
36 netlink
43 ttyI
44 cui
45 isdn

Block devices:
 3 ide0
 8 sd
11 sr


The numbers are the major device numbers as reported by ls -l. For example: 

$ ls -l /dev/lp*
crw-rw----   1 root     lp         6,   0 Dec  9  1996 /dev/lp0
crw-rw----   1 root     lp         6,   1 Dec  9  1996 /dev/lp1
crw-rw----   1 root     lp         6,   2 Dec  9  1996 /dev/lp2
crw-rw----   1 root     lp         6,   3 Dec  9  1996 /dev/lp3

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Greater love hath no man than this, that a man lay 
      down his life for his friends."      John 15:13 



--
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: