[BusyBox] [PATCH] devfsd

Tito farmatito at tiscali.it
Fri Nov 19 12:42:01 UTC 2004


On Friday 19 November 2004 OO:46, Allen Chan wrote:
> Tito,
> 
> Thanks for spending the time to look at my patch.  You bring up some 
> good points.  I went back and recreated the problem and looked more 
> carefully to figure out exactly what is happening:
> 
> (1) I misreported that the error message showed up in dmesg.  The 
> "devfsd: read config file: /etc/devfsd.conf: No such file or 
> directory" line only shows on the console, not in dmesg, even though 
> dmesg did show much of the boot process, including those that occur 
> before /sbin/devsd was called.
> 
> (2) The "/sbin/devfsd /dev" was executed very early in the boot 
> process, even before syslogd and klogd, so the device /dev/log was 
> not created yet.  This explains why I was previously not able to 
> reproduce this problem after the boot process was complete.  I can 
> now reproduce this consistently by simply not starting syslogd and 
> klogd at bootup.

That's why I couldn't reproduce it as on MDK syslogd and klogd 
are started early in the boot process and i missed to test devfsd
without them.
BTW I've found the code I've written rather ugly as I learned more
about c programming in the meanwhile, maybe if I find some spare
time  i will try to clean it up.
Are you  interested in testing some new versions?
 
Thanks for your time and explanations,
Ciao,
Tito

> (3) This is obviously a non-critical problem since nothing is really 
> broken, just an error message displayed when there is no error, and 
> only in a very specific situation that may not be very common.  
> However, it would be nice if no one else wastes any time debugging 
> this fake error message in the future.
> 
> 
> -- 
> Allen Chan
> allen at developers.alyz.com
> http://www.alyz.com
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 
> 



More information about the busybox mailing list