summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/init.c
Commit message (Collapse)AuthorAgeFilesLines
* fix unused-but-set-variabledistro/mes6Antoine Ginies2011-06-151-3/+0
|
* mandrake is now mandrivaThierry Vignaud2009-03-061-2/+2
|
* drop INIT_HEADERS support, it was used for minilibc onlyOlivier Blin2007-07-171-4/+0
|
* do not use _syscallX macros(), they are not available anymore, use syscall() ↵Olivier Blin2007-07-171-2/+3
| | | | function instead
* remove unused SOCK_STREAM variableOlivier Blin2007-07-171-4/+0
|
* iniline init-libc-headers.h in init.cOlivier Blin2007-07-171-1/+24
|
* use socklen_t to match accept() prototypeOlivier Blin2007-07-171-1/+1
|
* re-sync after the big svn lossPascal Rigaux2007-04-251-59/+24
|
* fix buggy blino commit which caused install failures to cause reboot without ↵Pascal Rigaux2005-01-121-2/+2
| | | | prompting
* ensure /tmp/syslog in stage2 contains the full logPascal Rigaux2005-01-031-1/+1
| | | | | (currently stage2 init was writing in a file shadowed by stage2 copying the /stage1/tmp/syslog over its file)
* drop non-standard tld (localdomain)Olivier Blin2004-09-011-1/+1
|
* restart forked process if it exits with exit_value_restart as returnOlivier Blin2004-08-121-12/+15
| | | | | | | code (thanks to Rafael for the choice of its value, 0x35 is the translation of RS, abbreviation of ReStart, in his local l33t dialect, and happens to be 53 in its decimal form, which is quite nice)
* reorder else if blocks, it's useless to do two times the same testOlivier Blin2004-08-121-5/+5
| | | | | (WEXITSTATUS(wait_status) == exit_value_proceed)
* use a do while loop to wait for forked processOlivier Blin2004-08-121-5/+2
|
* MandrakeSoft -> MandrakesoftPascal Rigaux2004-07-201-1/+1
|
* nasty kernel now gives us weird PIDs, so we can't rely on this to detect if ↵Pascal Rigaux2004-06-071-4/+1
| | | | | | | we are running on a live box or not. So set testing to 0
* instead of keeping stage1 (mostly as temporary space but with a fixed size, ↵Pascal Rigaux2004-05-131-0/+1
| | | | | | | and for the background init), exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
* unmounting /sys is not needed (useful to have one less line displayed after ↵Pascal Rigaux2004-03-041-0/+1
| | | | "unmounting filesystems...")
* sleep 10 only when debuggingPascal Rigaux2004-02-131-0/+2
|
* don't disallow ctrl-alt-del in drakx mode (we don't have sysreqs)Guillaume Cottenceau2003-12-221-0/+2
|
* repeat after me, "kernel is da shit"Guillaume Cottenceau2003-12-091-3/+2
|
* seems that some neuneu do "init 0" or "init 6" instead of halt/reboot :(Guillaume Cottenceau2003-12-091-1/+7
|
* can poweroff in UPGuillaume Cottenceau2003-12-091-4/+4
|
* C is a dangerous language :((Guillaume Cottenceau2003-12-051-1/+2
|
* hide fail to umount /image_always and /cdromGuillaume Cottenceau2003-12-051-0/+4
|
* Andrey told me how to tell supermount to force unmountGuillaume Cottenceau2003-12-051-10/+38
|
* we need loop-aes for mountloop, so we use change_loop with a special device ↵Guillaume Cottenceau2003-12-011-0/+8
| | | | number
* we still can't eject. try to shotgun a bit.Guillaume Cottenceau2003-11-281-0/+17
|
* be sure door is not locked (/sbin/init busyfies cdrom is image_always is not ↵Guillaume Cottenceau2003-11-281-0/+1
| | | | in memory - which is the case except when in mdk_totem)
* remove message in case it fails miserablyGuillaume Cottenceau2003-11-281-1/+0
|
* holy shotgun method for del_loops as well, or else we'll miss image_always ↵Guillaume Cottenceau2003-11-271-17/+14
| | | | loop hence won't be able to eject cdrom
* don't eject cdrom in nfsGuillaume Cottenceau2003-11-271-6/+11
|
* smp kernel panics when calling poweroff!!Guillaume Cottenceau2003-11-271-7/+17
|
* non cpu burning forever loopsGuillaume Cottenceau2003-11-271-3/+3
|
* *** empty log message ***Guillaume Cottenceau2003-11-271-1/+1
|
* move tries to eject cdromGuillaume Cottenceau2003-11-271-4/+16
|
* allow to halt machineGuillaume Cottenceau2003-11-271-3/+10
|
* at last a good reboot/halt from kdeGuillaume Cottenceau2003-11-271-2/+14
|
* consider than presence of /tmp/reboot means a clean exitGuillaume Cottenceau2003-11-261-2/+6
|
* cleanup startkde messages on clean exitGuillaume Cottenceau2003-11-261-0/+4
|
* *** empty log message ***Guillaume Cottenceau2003-11-251-1/+1
|
* shut upGuillaume Cottenceau2003-11-251-2/+1
|
* *** empty log message ***Guillaume Cottenceau2003-11-211-1/+1
|
* should be enoughGuillaume Cottenceau2003-11-211-1/+1
|
* *** empty log message ***Guillaume Cottenceau2003-11-201-1/+1
|
* better stdio for umount failedGuillaume Cottenceau2003-11-201-1/+1
|
* - forgot to close fd when del_loop ioctl fail, busyfied loopback and ↵Guillaume Cottenceau2003-11-191-10/+16
| | | | | | | prevented to umount /home - better io messages
* can't make my mindGuillaume Cottenceau2003-11-181-1/+1
|
* shorterGuillaume Cottenceau2003-11-181-1/+1
|
* oops that was debugging stuff right :)Guillaume Cottenceau2003-11-181-2/+0
|