Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 1995 21:44:36 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, julian@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/sys devfsext.h
Message-ID:  <199512091044.VAA10312@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    sys/i386/isa  fd.c
>               sys/miscfs/devfs  devfs_proto.h devfs_tree.c
>               sys/sys   devfsext.h
>  Log:
>  ...
>  remove deprecated routines

Is fdesc going to go away?

>  On my machine devfs now shows:
>  ...
>  julian@erf.tfs.com: ls -RF
>  bpf0            mem             ptypb           spkr            ttyp8
>  bpf1            null            ptypc           stderr          ttyp9
>  bpf2            pcaudio         ptypd           stdin           ttypa
>  bpf3            pcaudioctl      ptype           stdout          ttypb
>  console         pt              ptypf           tty             ttypc
>  cuaa0           ptyp0           random          ttyd0           ttypd
>  cuaia0          ptyp1           rsd0            ttyid0          ttype
>  cuala0          ptyp2           rsd1            ttyld0          ttypf
>  fd/             ptyp3           rvn             ttyp0           tun0
>  fd0.1440        ptyp4           rworm           ttyp1           urandom
>  fd1.1200        ptyp5           scsi/           ttyp2           vn
>  io              ptyp6           sd0             ttyp3           zero
>  kmem            ptyp7           sd1             ttyp4
>  lkm             ptyp8           snp0            ttyp5
>  log             ptyp9           snp1            ttyp6
>  lpt0            ptypa           snp2            ttyp7
>  
>  ./fd:
>  0       15      21      28      34      40      47      53      6       9
>  1       16      22      29      35      41      48      54      60
>  10      17      23      3       36      42      49      55      61
>  11      18      24      30      37      43      5       56      62
>  12      19      25      31      38      44      50      57      63
>  13      2       26      32      39      45      51      58      7
>  14      20      27      33      4       46      52      59      8
>  ...
>  which is all devices really there except for disk slices/partitions..
>  (if I don't have it it's not there, which has GOT to be an improvement..)

You're missing some things:

drum		# does anything still use this?
fd/*:		# does `ulimit -n 2000' by some process automagically
		# create 2000 entries here? :-)
fd[0-1].xxxx[abc]	# for formatting, at least.  Things like disklabel
		# prefer a c partition even if the c and a partitions are
		# the same device
lpctl0		# control lpt0
[r]vn0[a-h]	# b partition is required for swapping, at least.  This
		# can be sliced too

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512091044.VAA10312>