Files
haiku-beta6/src
PulkoMandy d9ee2fab67 makebootable: guard against writing to non-bfs partitions
- Check superblock magic. Overwriting the first sectors of partitions
  using other filesystems than BFS is likely to cause trouble.
- Check presence of bootcode in the same version, as well as the correct
  partition offset.
- Tell the user when the partition was already bootable and nothing was
  done, hopefully this will finally stop people from thinking that
  makebootable is of any use (it isn't, Installer already does the
  work).

Change-Id: I792fb29166773e224266d35a4976ac90662e5cb6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10174
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-12-31 21:22:44 +00:00
..
2025-12-23 23:14:55 +00:00