Clone this repo:
  1. b7ca8cb Merge pull request #42 from ajeddeloh/fix-nul by Andrew Jeddeloh · 5 weeks ago master
  2. a5af0d0 cgpt: ensure null termination by Andrew Jeddeloh · 5 weeks ago
  3. ee55b2b Merge pull request #41 from ajeddeloh/add-root-root-guid by Andrew Jeddeloh · 6 weeks ago
  4. d70eebc cgpt: use strncpy to avoid buffer overruns by Andrew Jeddeloh · 6 weeks ago
  5. e0bd798 cgpt: add type guid for root on raid by Andrew Jeddeloh · 6 weeks ago

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.