Portable fdisk(1) based on util-linux fdisk

[Releases]
Clone this repo:

Branches

  1. 70e996c Reallocate MBRbuffer every time since sector size may change between disks by WHR · 7 months ago master
  2. f607ffc Fix many disk names failed detecting as whole disk by WHR · 7 months ago
  3. f79ba55 Initialize the external variable fd to an invalid value to avoid misusing FD 0 as disk by WHR · 8 months ago
  4. b8bc1f4 Fix hard-coded 512 B of block size in Solaris-specific code by WHR · 8 months ago
  5. 25a4ab6 Fix read(2) size from function alloc_read_gpt_header may be smaller than disk block size by WHR · 8 months ago
  6. c1fb131 Use standardized uint64_t type name by WHR · 8 months ago
  7. 34dd7a3 Don't override user-specified sector size by WHR · 8 months ago
  8. 4e0942c Fix reusing values from previous disk when listing multiple disks by WHR · 8 months ago
  9. d818675 Fix null pointer dereferencing in function get_boot by WHR · 8 months ago
  10. 9b9cc1b Fix phy_sector_size never fallback to use sector_size value without libblkid by WHR · 8 months ago
  11. 2bbd555 Fix hard-coding 512 B read(2) breaks on disks with bigger block sizes by WHR · 8 months ago
  12. 3526309 Fix file descriptor leak in function get_boot; change argument type of function blkdev_get_sector_size by WHR · 8 months ago
  13. 4fa5d20 Clean unused path macros by WHR · 8 months ago
  14. 23b8bd9 Support querying disk sector size on kFreeBSD by WHR · 8 months ago
  15. 8c539c4 blkdev.o requires linux_version.o for Linux by WHR · 11 months ago
  16. 961e87c Reset label guessing results after successfully open(2)ing a device by WHR · 1 year, 4 months ago
  17. 25d2286 Fix blkdev_get_size didn't fallback to lseek(2) if ioctl(2) BLKGETSIZE failed by WHR · 1 year, 9 months ago
  18. 805a47a Print '^D' on receiving EOF from a terminal by WHR · 1 year, 9 months ago
  19. 0b40ca1 Correct term by WHR · 3 years, 3 months ago
  20. 38e6d22 Call geom_deletetree(3) by WHR · 5 years ago