Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-12 | mkinitcpio: mount real root device instead of symlink | Dave Reisner | 1 | -0/+3 | |
If a symlink such as /dev/disk/by-uuid/xxxxx is provided on the kernel cmdline, resolve it and mount that device instead of the symlink. This prevents some ugliness in the output of commands such as mount or df. Signed-off-by: Dave Reisner <d@falconindy.com> | |||||
2010-05-08 | Port 83ef38409182a9c024809553dff8c872902d0889 to init_functions too, to ↵ | Thomas Bächler | 1 | -1/+1 | |
remove more eval hacks | |||||
2010-02-21 | poll_device: do not wait for a device to appear if udevd is not running | Thomas Bächler | 1 | -5/+7 | |
Devices will never "magically" appear when udevd is not running. Thus, poll_device now exits instantly when a device when udevd is not running. The return value is unchanged, just the delay is removed. Assuming that the drive is available just after loading the module is unsafe. However, "fast" devices like most (all?) pata/sata seem to work this way for many people. On "slow" devices like USB, we still have to wait - those will not work without udev. | |||||
2010-02-21 | Allow the second parameter of poll_device to be 0 - this fixes rootdelay=0 | Thomas Bächler | 1 | -1/+1 | |
2010-02-20 | default_mount_hook: Use major and minor variables instead of a single ↵ | Thomas Bächler | 1 | -7/+9 | |
rootdev variable This is nicer and more explicit than before, based on a patch by Benjamin Richter | |||||
2010-02-20 | Use $(( )) instead of printf "%d" | Benjamin Richter | 1 | -2/+2 | |
2010-02-20 | Cosmetic change: 'msg' function does not support '\n' | Thomas Bächler | 1 | -1/+1 | |
2010-02-20 | Use only a single loop for searching /sys/block | Benjamin Richter | 1 | -12/+8 | |
2010-02-16 | launch_interactive_shell: add "export" for PS1 | Thomas Bächler | 1 | -1/+1 | |
2010-02-16 | Remove the special handling for the default mount procedure, move it into a ↵ | Thomas Bächler | 1 | -0/+68 | |
mount handler (default_mount_handler) | |||||
2010-02-15 | If we could not mount the real root device, or the init program did not ↵ | Thomas Bächler | 1 | -1/+3 | |
exist on it, bail out instead of panicing In these cases, we will exec /bin/sh, such that manual recovery is still possible as sh has PID 1 An expert might be able to mount and switch_root manually. In any case, this is less scary than a panic and a useless trace. | |||||
2010-02-07 | Remove an extra whitespace from the emergency shell prompt | Thomas Bächler | 1 | -1/+1 | |
2010-01-29 | Nicer shell prompt in the break/emergency shell | Thomas Bächler | 1 | -0/+4 | |
2009-08-05 | Do not rely on -L test; use -h instead. | Loui Chang | 1 | -2/+2 | |
See `man dash` Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> | |||||
2009-06-07 | Don't only check for block devices, but also for symbolic links. | Thomas Bächler | 1 | -2/+2 | |
If we have a symlink, we don't check further if it points to a block device, partially due to klibc's readlink being broken. | |||||
2009-06-06 | Add common poll_device function | Thomas Bächler | 1 | -0/+15 | |
2009-06-06 | Add a new file init_functions that contains common functions used in /init ↵ | Thomas Bächler | 1 | -0/+8 | |
and the hooks |