[haiku-bugs] Re: [Haiku] #17050: DriveSetup does not change partition type when reformatting existing partition

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 05 Jul 2021 20:34:16 -0000

#17050: DriveSetup does not change partition type when reformatting existing
partition
-------------------------------------+-------------------------------------
  Reporter:  mr-victory              |      Owner:  stippi
      Type:  bug                     |     Status:  new
  Priority:  high                    |  Milestone:
 Component:                          |    Version:  R1/Development
  Applications/DriveSetup            |   Keywords:  drivesetup partition
Resolution:                          |  type filesystem
Blocked By:                          |   Blocking:
  Platform:  All                     |
-------------------------------------+-------------------------------------
Comment (by mr-victory):

 The approach of not touching the partition type is very interesting...


 High end tools that I know (diskmgmt.msc, GParted) which are aware of
 partitions and ''filesystems'' set the partition type accordingly when a
 partition is formatted. This is the default behavior.


 Low end tools like fdisk cam also change the partition type but cannot
 format the partition because they do not know what a filesystem is! After
 using a tool like fdisk, (under Linux) usually a mkfs.<filesystem-type>
 utility is used which formats the given device but does not know what a
 partition is.

 DriveSetup can work with both partitions and filesystems so I expected it
 to take care of the partition type. If the intended behaviour is to not
 change the partition type, then I requested for a change.

 I tried changing an existing Haiku/BFS partition's type to NTFS and
 booting Windows 10 on real hardware without drivers for BFS. The partition
 was assigned a drive letter and the filesystem type showed up as RAW
 (unformatted) on diskmgmt.msc. I also have BTRFS partitions on the hard
 drive and they do not have a drive letter. Then I could boot to Haiku
 without any problems.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17050#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: