summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/init.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagV10_3_0_24mdkMystery Man2005-06-151-584/+0
| | | | 'V10_3_0_24mdk'.
* 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
|
* don't tell them!Guillaume Cottenceau2003-11-181-2/+0
|
* report errno when init can't exec binaryGuillaume Cottenceau2003-10-221-1/+1
|
* perform kernel logging anyway, it's cool to have it for init-stage2 as wellGuillaume Cottenceau2003-10-091-4/+1
|
* we need to have an 'init' for stage2 as well, because if we exec directly ↵Guillaume Cottenceau2003-10-091-17/+15
| | | | runinstall2 and it fails/stops for any reason, this will immediately block the kernel ('Attempted to kill init'), making debugging more difficult
* first attempt of updating stage1 for MandrakeMoveGuillaume Cottenceau2003-10-081-4/+4
|
* Merge from R9_0-AMD64, most notably:Gwenolé Beauchesne2003-06-041-1/+5
| | | | | | | | | - AMD64 support to insmod-busybox, minilibc, et al. - Sync with insmod-modutils 2.4.19 something but everyone should use dietlibc nowadays - Factor out compilation and prefix with $(DIET) for dietlibc builds - 64-bit & varargs fixes
* moltes powered (for deush)Guillaume Cottenceau2003-02-281-2/+1
|