commit | b7f143d380fe379fe25d188d41d464c8aa4c19ef | [log] [tgz] |
---|---|---|
author | Michael Marineau <michael.marineau@coreos.com> | Tue Aug 20 17:39:51 2013 |
committer | Michael Marineau <michael.marineau@coreos.com> | Tue Aug 20 18:39:45 2013 |
tree | 91146da82003bc819eee5c007062ec183beff8ba | |
parent | 84a9049607345bda492eadeb408628272b27dfa8 [diff] |
feat(cgpt): Add min_size argument to OpenDrive() This enables the caller to either assert the drive is a given size, extend existing image files to the given size if mode is O_RDRW, or create new image files if mode is O_RDRW | O_CREAT. All calls to OpenDrive have been updated to pass a min_size of 0, preserving the existing behavior.