The gptfdisk package is a set of programs for creation and maintenance of GUID Partition Table (GPT) disk drives. A GPT partitioned disk is required for drives greater than 2 TB and is a modern replacement for legacy PC-BIOS partitioned disk drives that use a Master Boot Record (MBR). The main program, gdisk, has an interface similar to the classic fdisk program.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://downloads.sourceforge.net/gptfdisk/gptfdisk-1.0.10.tar.gz
MD5 校验和:1970269eb7a97560e238611524b7797a
大小:216 KB
预计所需磁盘空间:2.4 MB
预计构建时间:小于 0.1 SBU(测试将额外增加 0.2 SBU)
The gptfdisk package comes with a
rudimentary Makefile. First we update
it to provide a simple build and install interface and fix the
location of a header file and fix some minor location issues.
Install gptfdisk by running the
following commands:
patch -Np1 -i ../gptfdisk-1.0.10-convenience-1.patch && sed -i 's|ncursesw/||' gptcurses.cc && sed -i 's|sbin|usr/sbin|' Makefile && make
To test the results, issue: make test.
Now, as the root user:
make install
patch -Np1 ...: This
patch modifies the Makefile file so
that it provides an “install” target.