macOS
brew install gptfdisklocal Homebrew formula metadata
sudo port install gptfdiskMacPorts ports tree · sysutils/gptfdisk/Portfile · 来源: api.github.com
安装
brew install gptfdisklocal Homebrew formula metadata
sudo port install gptfdiskMacPorts ports tree · sysutils/gptfdisk/Portfile · 来源: api.github.com
sudo apk add gptfdiskAlpine Linux edge package indexes · gptfdisk · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#gptfdisknixpkgs package indexes · pkgs/by-name/gp/gptfdisk/package.nix · 来源: api.github.com
sudo pacman -S gptfdiskArch Linux sync databases · gptfdisk · 来源: geo.mirror.pkgbuild.com
sudo zypper install gptfdiskopenSUSE Tumbleweed package metadata · gptfdisk · 来源: download.opensuse.org
sudo dnf install gdiskFedora Rawhide package metadata · gdisk · 来源: dl.fedoraproject.org
scoop install main/gdiskScoop official bucket manifest trees · bucket/gdisk.json · 来源: api.github.com
概览
Text-mode partitioning tools
历史
GPT fdisk is Rod Smith's family of text-mode partitioning tools for GUID Partition Table disks, including `gdisk`, `cgdisk`, `sgdisk`, and `fixparts`.
The official GPT fdisk page describes `gdisk`, `cgdisk`, and `sgdisk` as tools for GPT disks rather than older MBR partition tables, while `fixparts` repairs certain MBR damage and converts partition types between primary and logical.
The revisions page shows a long beta-era progression from early `gdisk` releases through added Mac OS X support, hybrid MBR handling, FreeBSD support, Windows support, non-512-byte-sector support, and the addition of `sgdisk` for scripts.
Version 0.7.0 added `fixparts` in March 2011, and version 0.8.0 added `cgdisk` in September 2011 as a cfdisk-like interface. Version 1.0.0 in March 2015 moved GPT fdisk out of beta status because the program had been used for years and appeared reliable.
The author-maintained rodsbooks.com pages remain the documentation center, while SourceForge provides source code and downloads for source and non-Linux binaries.
GPT fdisk became important as EFI and GPT partitioning became ordinary on PCs, Macs, removable media, and large disks. It gave Unix users an fdisk-like workflow for GPT and gave script authors `sgdisk` for repeatable partition-table operations.
The tool family also filled a practical migration gap: its documentation covers MBR-to-GPT conversion, GPT-to-MBR conversion, hybrid MBRs, wiping GPT data, booting from GPT, and protective MBR details.
Its package-manager footprint is broad because disk partitioning tools must be available in rescue systems, installers, live environments, and administrator workstations.
`gdisk` is the interactive expert-style tool, `cgdisk` offers a curses interface, `sgdisk` is suited to scripts and automation, and `fixparts` handles broken MBR partition tables.
Administrators use GPT fdisk for inspecting and editing GPT partition tables, converting legacy layouts, repairing GPT metadata, creating hybrid MBRs in edge cases, and preparing disks from rescue or installer environments.
The official documentation warns about platform limits such as FreeBSD write behavior on mounted disks and macOS System Integrity Protection restricting low-level access to system disks.
GPT fdisk is a package-nerd staple because it is both powerful and dangerous in the traditional Unix way: small named executables, manpages, scriptable operations, and direct disk writes.
It is also historically interesting because it tracks the storage transition from MBR assumptions to GPT/UEFI norms, including alignment issues, Advanced Format drives, hybrid MBR compatibility, Windows/macOS/FreeBSD support, and rescue-disk packaging.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cgdisk | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
fixparts | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gdisk | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
sgdisk | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gptfdisk |
|---|---|
| 版本 | 1.0.10 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.rodsbooks.com/gdisk/ |
| 最后更新 | 2026-06-25T13:37:44+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gptfdisk
nix profile install nixpkgs#gptfdiskgptfdisk 1.0.10-r1
Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks
https://www.rodsbooks.com/gdisk
sudo apk add gptfdiskgptfdisk-doc 1.0.10-r1
Text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks (documentation)
https://www.rodsbooks.com/gdisk
sudo apk add gptfdisk-docsgdisk 1.0.10-r1
Command-line GUID partition table (GPT) manipulator
https://www.rodsbooks.com/gdisk
sudo apk add sgdiskgptfdisk 1.0.10-2
A text-mode partitioning tool that works on GUID Partition Table (GPT) disks
https://www.rodsbooks.com/gdisk/
sudo pacman -S gptfdiskgptfdisk 1.0.10-1.7
GPT partitioning and MBR repair software
sudo zypper install gptfdiskgptfdisk-fixparts 1.0.10-1.7
A tool for repairing certain types of damage to MBR disks
sudo zypper install gptfdisk-fixpartsgptfdisk
sudo port install gptfdiskgdisk 1.0.10-2
GPT fdisk text-mode partitioning tool
http://sourceforge.net/projects/gptfdisk/
sudo apt install gdiskgdisk 1.0.10-1build1
GPT fdisk text-mode partitioning tool
http://sourceforge.net/projects/gptfdisk/
sudo apt install gdiskgdisk 1.0.10-6.fc45
An fdisk-like partitioning tool for GPT disks
http://www.rodsbooks.com/gdisk/
sudo dnf install gdiskmain/gdisk
scoop install main/gdisk来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.