70bd62ff84
- New udev control logic imported from make-initrd scripts; - Udev-trigger replaced to udev-settle() in hardware wait loops; - All udev control code moved from init.c to new udev.c module; - Lazy initialization mode support added for work in cooperate with make-initrd: this is experimental future, turned off by default, and also required patched make-initrd-propagator; - Small fixes for suppress compiler warnings;
26 lines
603 B
C
26 lines
603 B
C
/*
|
|
* Guillaume Cottenceau (gc@mandrakesoft.com)
|
|
*
|
|
* Copyright 2000 MandrakeSoft
|
|
*
|
|
* This software may be freely redistributed under the terms of the GNU
|
|
* public license.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef _INIT_H
|
|
#define _INIT_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
pid_t spawn(char * const av[]);
|
|
void init_warn(const char *msg);
|
|
void init_fatal(const char *msg) __attribute__((noreturn));
|
|
int nuke_dir(const char *what);
|
|
|
|
#endif
|