[BusyBox-cvs] busybox/miscutils devfsd.c, NONE, 1.1 Config.in, 1.8, 1.9 Makefile.in, 1.8, 1.9
Glenn McGrath
bug1 at busybox.net
Thu Oct 9 11:46:26 UTC 2003
Update of /var/cvs/busybox/miscutils
In directory winder:/tmp/cvs-serv10817/miscutils
Modified Files:
Config.in Makefile.in
Added Files:
devfsd.c
Log Message:
New applet, devfsd, by Matteo Croce and Tito
Index: Makefile.in
===================================================================
RCS file: /var/cvs/busybox/miscutils/Makefile.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile.in 8 Aug 2003 22:26:06 -0000 1.8
+++ Makefile.in 9 Oct 2003 11:46:23 -0000 1.9
@@ -28,6 +28,7 @@
MISCUTILS-$(CONFIG_CROND) += crond.o
MISCUTILS-$(CONFIG_CRONTAB) += crontab.o
MISCUTILS-$(CONFIG_DC) += dc.o
+MISCUTILS-$(CONFIG_DEVFSD) += devfsd.o
MISCUTILS-$(CONFIG_HDPARM) += hdparm.o
MISCUTILS-$(CONFIG_LAST) += last.o
MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o
Index: Config.in
===================================================================
RCS file: /var/cvs/busybox/miscutils/Config.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Config.in 8 Aug 2003 22:26:06 -0000 1.8
+++ Config.in 9 Oct 2003 11:46:23 -0000 1.9
@@ -40,6 +40,27 @@
Dc is a reverse-polish desk calculator which supports unlimited
precision arithmetic.
+config CONFIG_DEVFSD
+ bool "devfsd"
+ default n
+ help
+ Provides compatibility with old device names on a devfs systems.
+ You should set it to true if you have devfs enabled.
+
+config CONFIG_DEVFSD_VERBOSE
+ bool "Increases logging to stderr and syslog"
+ default n
+ depends on CONFIG_DEVFSD
+ help
+ Increases logging to stderr and syslog.
+
+config CONFIG_DEVFSD_DEBUG
+ bool "Adds function names to program output"
+ default n
+ depends on CONFIG_DEVFSD
+ help
+ Adds function names to program output.
+
config CONFIG_LAST
bool "last"
default n
--- NEW FILE: devfsd.c ---
/*
devfsd implementation for busybox
Copyright (C) 2003 by Tito Ragusa <farmatito at tiscali.it>
Busybox version is based on some previous work and ideas
Copyright (C) [2003] by [Matteo Croce] <3297627799 at wind.it>
devfsd.c
Main file for devfsd (devfs daemon for Linux).
Copyright (C) 1998-2002 Richard Gooch
devfsd.h
Header file for devfsd (devfs daemon for Linux).
Copyright (C) 1998-2000 Richard Gooch
[...1990 lines suppressed...]
environment is searched.
[RETURNS] The value of the variable on success, else NULL.
*/
{
const char *value;
#ifdef CONFIG_DEVFSD_DEBUG
msg_logger( NO_DIE, LOG_INFO, "get_variable_v2()\n");
#endif
if (func != NULL)
{
value = (*func) (variable, info);
if (value != NULL)
return (value);
}
return getenv (variable);
} /* End Function get_variable */
/* END OF CODE */
More information about the busybox-cvs
mailing list