On Thu, May 03, 2001 at 10:47:37AM -0500, Austin Gonyou wrote:
> How easy would it be to just patch a 2.4.4 kernel and NOT use devfsd.
[ Assuming you really meant devfsd and not devfs ]
No problem at all. Just remove / comment out the devfsd lines from
rc.sysinit or equivalent. Then you will get a clean /dev/ containing
only the real devices, like this:
% ls -l /dev
totalt 0
crw------- 1 janfrode root 5, 1 apr 24 19:08 console
drwxr-xr-x 1 root root 0 jan 1 1970 cpu
drwxr-xr-x 1 root root 0 jan 1 1970 cua
drwxr-xr-x 1 root root 0 jan 1 1970 discs
drwxr-xr-x 1 root root 0 apr 24 19:08 dri
crw-rw-rw- 1 root root 1, 7 jan 1 1970 full
drwxr-xr-x 1 root root 0 jan 1 1970 ide
prw------- 1 root root 0 apr 24 21:05 initctl
crw-r----- 1 root root 1, 2 jan 1 1970 kmem
srw-rw-rw- 0 root root 0 apr 24 21:05 log
crw-r----- 1 root root 1, 1 jan 1 1970 mem
drwxr-xr-x 1 root root 0 jan 1 1970 misc
crw-rw-rw- 1 root root 1, 3 jan 1 1970 null
crw-r----- 1 root root 1, 4 jan 1 1970 port
crw------- 1 root root 108, 0 jan 1 1970 ppp
drwxr-xr-x 1 root root 0 jan 1 1970 printers
crw-rw-rw- 1 root root 5, 2 mai 3 19:47 ptmx
drwxr-xr-x 1 root root 0 jan 1 1970 pts
drwxr-xr-x 1 root root 0 jan 1 1970 pty
crw-r--r-- 1 root root 1, 8 jan 1 1970 random
drwxr-xr-x 1 root root 0 jan 1 1970 scsi
drwxrwxrwt 1 root root 0 apr 24 19:08 shm
drwxr-xr-x 1 root root 0 jan 1 1970 sound
drwxr-xr-x 1 root root 0 jan 1 1970 tts
crw-rw-rw- 1 root root 5, 0 mai 2 16:16 tty
crw-r--r-- 1 root root 1, 9 jan 1 1970 urandom
drwxr-xr-x 1 root root 0 jan 1 1970 vc
drwxr-xr-x 1 root root 0 jan 1 1970 vcc
crw-rw-rw- 1 root root 1, 5 jan 1 1970 zero
I use devfs without devfsd, and manually create the few links (dsp, sg0)
I need for applications that don't understand the new naming.
-jf
|