summaryrefslogtreecommitdiffstats
path: root/fdisk/gpt.c
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: rename fdisk -> fdisks/, convert to moduleKarel Zak2012-06-261-216/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: verify writing to streams was successfulSami Kerola2012-04-041-0/+2
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* misc: use %m in format string instead of %s and strerror(errno)Petr Uzel2011-09-271-2/+1Star
| | | | Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
* Remove now unused <sys/ioctl.h> includesGuillem Jover2009-10-091-1/+0Star
| | | | | | Those became unused with the switch to the blkdev functions. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* fdisk: (and partx) remove BLKGETLASTSECTKarel Zak2009-02-261-39/+1Star
| | | | | | This odd ioctl is unsupported in the current 2.4 and 2.6 mainline. Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: non-linux support (BLK* and HDIO_*)Samuel Thibault2008-07-241-0/+4
| | | | | | | | | | BLK* and HDIO_* are not available on all platform. Work around this in a few places. [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: use swab macros from bitops.hKarel Zak2007-12-171-20/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: cleanup BLK* ioctls usageKarel Zak2007-11-071-43/+7Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: do not complain about regular filesH. Peter Anvin2007-07-101-1/+3
| | | | | | | | | fdisk complains that it doesn't understand regular files. This can be trivially fixed. Also, modes are conventionally given in octal, not hex. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* fdisk: add GPT detection codeKarel Zak2007-06-051-0/+302
The GPT (GUID Partition Table) is unsupported by fdisk, sfdisk and cfdisk. Unfortunately, the fdisk doesn't complain about GPT.. that's dangerous, because user is able to blindly edit PT with unexpected results. Signed-off-by: Karel Zak <kzak@redhat.com>