16
16
# You should have received a copy of the GNU General Public License
17
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
29
23
# create a file large enough to hold a GPT partition table
30
24
dd if=/dev/null of=$dev bs=1 seek=$N || framework_failure
34
26
# create a GPT partition table
35
27
parted -s $dev mklabel gpt > out 2>&1 || fail=1
39
31
# save a copy of the original primary GPT table
40
32
dd if=$dev of=before count=1 skip=1 || fail=1