Permalink
Switch branches/tags
Nothing to show
Commits on Apr 26, 2011
  1. add udevadm settle call after triggering uevents

    falconindy committed Apr 26, 2011
    This also adds a fun little timer to show how long udev processing took.
    catch it if you can!
Commits on Apr 25, 2011
  1. fixup waiting for root

    falconindy committed Apr 25, 2011
    this was potentially waiting for 100s for root by default.
Commits on Apr 24, 2011
  1. cinit => dinit

    falconindy committed Apr 24, 2011
Commits on Apr 23, 2011
Commits on Apr 22, 2011
  1. refactor delete_contents to avoid heap allocation

    falconindy committed Apr 22, 2011
    we don't need a whole separate function to do the path concatenation --
    just use a static buffer and append with snprintf.
  2. add support for non-udev environments

    falconindy committed Apr 21, 2011
    $root can be specified as:
    
    * a block device => /dev/sda2
    * a major/minor pair => 8:2
    * a hex encoded major/minor => 802
  3. refactor and improve wait_for_root

    falconindy committed Apr 21, 2011
    * don't wait for something that isn't a /dev path
    * change wait delta to .1s instead of 1s
    * remove bail to shell on failure. this isn't necessarily the end.
    * ensure that what shows up is actually a block device
    * return something meaningful
Commits on Apr 21, 2011
Commits on Apr 20, 2011
  1. refactor sanitize_var

    falconindy committed Apr 20, 2011
    be more strict about what we accept
  2. introduce movemount for moving tmpfs's

    falconindy committed Apr 20, 2011
    The target root may not have the mount point we're moving. if it doesn't
    exist, umount the tmpfs instead of moving it.
  3. use vfork over fork

    falconindy committed Apr 20, 2011
    as per vfork(3), since we're only using fork as a prelude to exec, this
    is a viable, lighter, alternative.
  4. use _exit to leave a child process

    falconindy committed Apr 20, 2011
    _exit(3) will explicitly avoid flushing stream buffers on exit, which is
    desirable for forked processes which may inherit unrelated data in the
    copied FDs. Flushing these buffers would result in erroneously
    duplicated output.
  5. rootdelay <=0 is invalid

    falconindy committed Apr 20, 2011
Commits on Apr 19, 2011
  1. simplify ubase install

    falconindy committed Apr 19, 2011
  2. overhaul later logic to be more robust and simpler.

    falconindy committed Apr 19, 2011
    * adds support for rootfstype=
  3. fix output in err()

    falconindy committed Apr 19, 2011
  4. mkinitcpio install file

    falconindy committed Apr 19, 2011
Commits on Apr 18, 2011
  1. add missing udev msg

    falconindy committed Apr 18, 2011
  2. wrap at 80 cols

    falconindy committed Apr 18, 2011