Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix total_memory() | Pascal Terjan | 2023-05-05 | 1 | -3/+7 |
| | | | | | | | It was using the size of /proc/kcore which is 128T on x86_64 regardless of available memory, and does not exist on aarch64. Instead use sysinfo(). | ||||
* | stage1: Move the symlink creation from stage1 to init. | Colin Guthrie | 2013-10-29 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | | | | In order to run stage1 we now need to do things a little differently, namely that we move the symlinking fixups into 'init' itself which we will actually call as a kind of fake switch_root implementation to avoid hacking dracut too much[1]. As we run stage1 during dracut's 'mount' phase we should not do the symlink hacks so early otherwise it will mess up the rest of the dracut initqueue processing. Currently, the initrd's /usr is nuked and then symlinked, but to allow for easier debugging I now just bind mount the stage2 /usr over the top which allows us to unmount it again easily enough if we want to go back. We no longer touch the /bin, /sbin or /lib[64] symlinks as these are relative and simply bind mounting /usr is enough to fix all of them. 1. This scheme will have to change if we eventually swtich to a systemd based dracut invocation. | ||||
* | (my_dirname) introduce a non segfaulting dirname() | Thierry Vignaud | 2012-02-26 | 1 | -0/+14 |
| | |||||
* | kill dead emails | Thierry Vignaud | 2012-01-27 | 1 | -1/+1 |
| | |||||
* | (memdup) rename as _memdup() in order to prevent a symbol clash with libkmod | Thierry Vignaud | 2012-01-13 | 1 | -2/+2 |
| | |||||
* | (kernel_version) kill it, no more used and broken since the switch to ↵ | Thierry Vignaud | 2012-01-03 | 1 | -10/+0 |
| | | | | kernel-3.x anyway | ||||
* | mandrake is now mandriva | Thierry Vignaud | 2009-03-06 | 1 | -2/+2 |
| | |||||
* | fix build with gcc | Olivier Blin | 2007-11-16 | 1 | -0/+1 |
| | |||||
* | move some code in new cat_file and line_counts functions | Olivier Blin | 2007-08-27 | 1 | -0/+33 |
| | |||||
* | - move parameters functions in params.c | Olivier Blin | 2007-07-05 | 1 | -0/+157 |
- move string/system utility functions in utils.c |