Merge pull request #37 from marineam/add-rootdev

Include rootdev utility and library w/ our other block device tools
tree: c0e6f80e4e60f69d7b796d3a1cc735252788b96e
  1. include/
  2. src/
  3. tests/
  4. .gitignore
  5. .travis.yml
  6. autogen.sh
  7. configure.ac
  8. LICENSE
  9. Makefile.am
  10. README.md
README.md

seismograph -- tools for producing CoreOS images

cgpt

A partitioning tool.

rootdev

Performs operations to discover and annotate the root block device

Originally inspired by the old rdev utility from util-linux but has been completely rewritten since then. git://git.debian.org/~lamont/util-linux.git / 717db2c8177203fe242ea35b31bc312abe9aa3c9

  • Provides core functionality in a library: librootdev
  • Walks sysfs to discover the block devices
  • Supports resolving through to /sys/block/XXX/slaves/*/dev devices
  • Will test and, optionally, symlink to the /dev entry for standard devices.
  • Is testable.