Bug 860149 - Changing partition type with gdisk does not change partition name
Summary: Changing partition type with gdisk does not change partition name
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gdisk
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 06:18 UTC by Bruce Jerrick
Modified: 2013-02-24 12:49 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-24 12:49:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bruce Jerrick 2012-09-25 06:18:39 UTC
Description of problem:
When a partition type is changed with gdisk ('t' command), it does
not update the partition name (at offset 56 in the partition entry).

Version-Release number of selected component:
gdisk-0.8.4-1.fc17

How reproducible:
100%

Steps to Reproduce:
1. gdisk /dev/sda
2. Print the partition table ('p')
3. Change partition type ('t')
4. Print the partition table ('p')
5. Quit (without writing) ('q')

Actual results:
The partition name does not change.

Expected results:
The partition name should change to that of the new partition type.

Additional info:
A 'c' command exists to change the partition name, but it should
  be updated automatically when the partition type is changed.
The partition name is correct if the partition is deleted then
  recreated.

Comment 1 Terje Røsten 2012-10-08 13:14:45 UTC
Thanks for your report.

You have to write (w) to make the change happen? 

Or is it some something else you mean?

Can you cut and paste a session and post here?

Comment 2 Terje Røsten 2012-12-18 19:00:40 UTC
Hi again!

Any comments?

Comment 3 Terje Røsten 2013-02-24 12:49:13 UTC
I would not consider this a bug, name is not necessarily  connected to type.

I don't agree with "it should be updated automatically when the partition type is changed."

If they follow all the time there is no need for both type and name?


Note You need to log in before you can comment on or make changes to this bug.