Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-2837

Implement Pretend support for sfdisk

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Core Packages - 258, Core Packages - 259
    • 0

      The sgdisk.go has a pretend method which is used to verify sector sizes, and validity of the configuration before trying to commit to disk. Pretend is a combination of accessing information and running with particular arguments to insure no disk changes. 

As such, sfdisk.go needs to have similar functionality since Partitions.go conditionally needs to check some values in a non destructive nature. 

      Original story split into 3 for better tracking, COS-2837, COS-2929, COS-2930

      Old text:
      As a developer I would like to understand the effort around removing sgdisk and converting into sfdisk. To truly understand this I would have to go through the process of removing a part and putting it under test.

      The scope of this issue has expanded to actually adding a first pass for the initial implementation. This will include a sfdisk.go which will be able to be enabled by some sort of flag at compile time or otherwise.

              rh-ee-spresti Steven Presti
              rh-ee-spresti Steven Presti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: