This allows for a /etc/conf.d/devsfd which control whether devfsd is started or not at bootup. Only /sbin/rc is altered. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 14415 [details, diff] /sbin/rc diff
Created attachment 14417 [details] A sample /etc/conf.d/devfsd
Why ? Not using devfs ?
Yes I'm using devfs. I don't like a bunch of crap in my /dev and it is easier to see what the kernel recognizes... % ls /dev cdroms/ discs/ ide/ loop/ nvidia0 pts/ root@ tty zero console fb/ initctl| mem nvidiactl pty/ shm/ urandom cpu/ floppy/ kmem misc/ port random sound/ vc/ cua/ full log= null ptmx rd/ tts/ vcc/
Ok, but then I will rather have the 'switch' in /etc/conf.d/rc.
Ok, I've redone the patches. devfsd is now controlled in /etc/conf.d/rc. I've also changed the logic : devfsd will NOT be started only if RC_DEVFSD_STARTUP="no". In this way, if the user screws up RC_DEVFSD_STARTUP, devfsd will start as normal.
Created attachment 15325 [details, diff] Diff for /sbin/rc Heres the new diff for /sbin/rc.
Created attachment 15327 [details, diff] DIff for /etc/conf.d/rc Here's the diff for /etc/conf.d/rc. devfsd startup is now controlled by RC_DEVFSD_STARTUP.
Added to CVS, thanks.