Fdisk
fdisk is a command-line utility for disk partitioning. It has been part of DOS, DR FlexOS, IBM OS/2, and early versions of Microsoft Windows, as well as certain ports of FreeBSD, NetBSD, OpenBSD, DragonFly BSD and macOS for compatibility reasons. Windows 2000 and its successors have replaced fdisk with a more advanced tool called diskpart.
fdisk is a command-line utility for disk partitioning. It has been part of DOS, DR FlexOS, IBM OS/2, and early versions of Microsoft Windows, as well as certain ports of FreeBSD, NetBSD, OpenBSD, DragonFly BSD and macOS for compatibility reasons. Windows 2000 and its successors have replaced fdisk with a more advanced tool called diskpart. ==Implementations== ===DOS=== IBM introduced the first version of fdisk (officially dubbed "Fixed Disk Setup Program") in March 1983, with the release of the IBM PC/XT computer (the first PC to store data on a hard disk) and the IBM PC DOS 2.0 operating system. fdisk version 1.0 can create one FAT12 partition, delete it, change the active partition, or display partition data. fdisk writes the master boot record, which supports up to four partitions. The other three were intended for other operating systems such as CP/M-86 and Xenix, which were expected to have their own partitioning utilities. Microsoft first added fdisk to MS-DOS in version 3.2. MS-DOS versions 2.0 through 3.10 included OEM-specific partitioning tools, which may have been named fdisk. PC DOS 3.0, released in August 1984, added support for FAT16 partitions to handle larger hard disks more efficiently. PC DOS 3.30, released in April 1987, added support for extended partitions. (These partitions do not store data directly but can contain up to 23 logical drives.) In both cases, fdisk was modified to work with FAT16 and extended partitions. Support for FAT16B was first added to Compaq's fdisk in MS-DOS 3.31. FAT16B later became available with MS-DOS and PC DOS 4.0. The undocumented /mbr switch in fdisk, which could repair the master boot record, soon became popular. IBM PC DOS 7.10 shipped with the new fdisk32 utility. ROM-DOS, DR DOS 6.0 FlexOS, PTS-DOS 2000 Pro, and FreeDOS, include an implementation of the fdisk command. ===Windows=== Windows 95, Windows 98, and Windows ME shipped with a derivative of the MS-DOS fdisk. Windows 2000 and its successors, however, came with the more advanced diskpart and the graphical Disk Management utilities. Starting with Windows 95 OSR2, fdisk supports the FAT32 file system. The version of fdisk that ships with Windows 95 does not report the correct size of a hard disk that is larger than 64 GB. An updated fdisk is available from Microsoft to correct this issue. In addition, fdisk cannot create partitions larger than 512 GB, even though FAT32 supports partitions as big as 2 TB. This limitation applies to all versions of fdisk supplied with Windows 95 OSR 2.1, Windows 98 and Windows ME. ===IBM OS/2=== Before version 4.0, OS/2 shipped with two partition table managers. These were the text mode fdisk and the graphical fdiskpm. The two have identical functionality, and can manipulate both FAT partitions and the more advanced HPFS partitions. OS/2 4.5 and higher (including eComStation and ArcaOS) can use the JFS file system, as well as FAT and HPFS. They replaced fdisk with the Logical Volume Manager (LVM). ===Mach and 386BSD=== fdisk for Mach Operating System was written by Robert Baron. It was ported to 386BSD by Julian Elischer, and the implementation is being used by FreeBSD, NetBSD and DragonFly BSD, all as of 2019, as well as the early versions of OpenBSD between 1995 and 1997 before OpenBSD 2.2. Tobias Weingartner re-wrote fdisk in 1997 before OpenBSD 2.2, which has subsequently been forked by Apple Computer, Inc in 2002, and is still used as the basis for fdisk on macOS as of 2019. For native partitions, BSD systems traditionally use BSD disklabel, and fdisk partitioning is supported only on certain architectures (for compatibility reasons) and only in addition to the BSD disklabel (which is mandatory). ===Linux=== In Linux, fdisk is a part of a standard package distributed by the Linux Kernel organization, util-linux. The original program was written by Andries E. Brouwer and A. V. Le Blanc and was later rewritten by Karel Zak and Davidlohr Bueso when they forked the util-linux package in 2006. An alternative, ncurses-based program, cfdisk, allows users to create partition layouts via a text-based user interface (TUI). ==See also== List of disk partitioning software format (command) GUID Partition Table ==References== ==Further reading== ==External links== Linux Partition HOWTO. Partitioning with fdisk Linux Programmer's Manual, fdisk(8) fdisk from utils-linux-ng blkid - command-line utility to locate/print block device attributes Using the blkid Command . FreeBSD System Manager's Manual, FDISK(8)
References
- fdisk(8) — PC slice table (MBR) maintenance program · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "fdisk(8) — PC slice table (MBR) maintenance program." a b "fdisk(8) — PC slice table (MBR) maintenance program". 2026-11-17. http://mdoc.su/-/fdisk.8. Accessed 24 November 2026.
Chicago "fdisk(8) — PC slice table (MBR) maintenance program." a b "fdisk(8) — PC slice table (MBR) maintenance program". 2026-11-17. http://mdoc.su/-/fdisk.8.
APA a b "fdisk(8) — PC slice table (MBR) maintenance program". (2026). fdisk(8) — PC slice table (MBR) maintenance program. Retrieved November 24, 2026, from http://mdoc.su/-/fdisk.8
- FlexOS User's Guide Version 1.3 · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "FlexOS User's Guide Version 1.3." "FlexOS User's Guide Version 1. 2026-11-17. https://web.archive.org/web/20211120134812/http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf. Accessed 24 November 2026.
Chicago "FlexOS User's Guide Version 1.3." "FlexOS User's Guide Version 1. 2026-11-17. https://web.archive.org/web/20211120134812/http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf.
APA "FlexOS User's Guide Version 1. (2026). FlexOS User's Guide Version 1.3. Retrieved November 24, 2026, from https://web.archive.org/web/20211120134812/http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf
- PTS-DOS 2000 Pro User Manual · retrieved 2018-05-11 · rev 1359563489
Cite this reference
MLA "PTS-DOS 2000 Pro User Manual." "PTS-DOS 2000 Pro User Manual" (PDF). 2018-05-11. http://download.paragon-software.com/doc/manual_dos_eng.pdf. Accessed 24 November 2026.
Chicago "PTS-DOS 2000 Pro User Manual." "PTS-DOS 2000 Pro User Manual" (PDF). 2018-05-11. http://download.paragon-software.com/doc/manual_dos_eng.pdf.
APA "PTS-DOS 2000 Pro User Manual" (PDF). (2018). PTS-DOS 2000 Pro User Manual. Retrieved November 24, 2026, from http://download.paragon-software.com/doc/manual_dos_eng.pdf
- ibiblio.org FreeDOS Group -- FreeDOS Base · retrieved 2020-06-02 · rev 1359563489
Cite this reference
MLA "ibiblio.org FreeDOS Group -- FreeDOS Base." "ibiblio. 2020-06-02. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html. Accessed 24 November 2026.
Chicago "ibiblio.org FreeDOS Group -- FreeDOS Base." "ibiblio. 2020-06-02. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html.
APA "ibiblio. (2020). ibiblio.org FreeDOS Group -- FreeDOS Base. Retrieved November 24, 2026, from http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/group-base.html
- How to Use the Fdisk and Format Tools to Partition or Repartition a Hard Disk · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "How to Use the Fdisk and Format Tools to Partition or Repartition a Hard Disk." 2026-11-17. https://support.microsoft.com/en-us/kb/255867. Accessed 24 November 2026.
Chicago "How to Use the Fdisk and Format Tools to Partition or Repartition a Hard Disk." 2026-11-17. https://support.microsoft.com/en-us/kb/255867.
APA encyclopegia.org. (2026). How to Use the Fdisk and Format Tools to Partition or Repartition a Hard Disk. Retrieved November 24, 2026, from https://support.microsoft.com/en-us/kb/255867
- Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB." 2026-11-17. https://support.microsoft.com/en-us/kb/263044. Accessed 24 November 2026.
Chicago "Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB." 2026-11-17. https://support.microsoft.com/en-us/kb/263044.
APA encyclopegia.org. (2026). Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB. Retrieved November 24, 2026, from https://support.microsoft.com/en-us/kb/263044
- JaTomes Help - OS/2 Commands · retrieved 2019-06-19 · rev 1359563489
Cite this reference
MLA "JaTomes Help - OS/2 Commands." 2019-06-19. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISK. Accessed 24 November 2026.
Chicago "JaTomes Help - OS/2 Commands." 2019-06-19. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISK.
APA encyclopegia.org. (2019). JaTomes Help - OS/2 Commands. Retrieved November 24, 2026, from https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISK
- JaTomes Help - OS/2 Commands · retrieved 2019-06-19 · rev 1359563489
Cite this reference
MLA "JaTomes Help - OS/2 Commands." 2019-06-19. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISKPM. Accessed 24 November 2026.
Chicago "JaTomes Help - OS/2 Commands." 2019-06-19. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISKPM.
APA encyclopegia.org. (2019). JaTomes Help - OS/2 Commands. Retrieved November 24, 2026, from https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FDISKPM
- Fdisk · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "Fdisk." 2026-11-17. https://www.freebsd.org/cgi/man.cgi?fdisk. Accessed 24 November 2026.
Chicago "Fdisk." 2026-11-17. https://www.freebsd.org/cgi/man.cgi?fdisk.
APA encyclopegia.org. (2026). Fdisk. Retrieved November 24, 2026, from https://www.freebsd.org/cgi/man.cgi?fdisk
- How to Create, Resize and Delete Linux Partitions With Cfdisk · retrieved 2023-05-14 · rev 1359563489
Cite this reference
MLA "How to Create, Resize and Delete Linux Partitions With Cfdisk." Sharma, Deepesh (2021-02-22). 2023-05-14. https://www.makeuseof.com/how-to-create-resize-and-delete-linux-partitions-with-cfdisk/. Accessed 24 November 2026.
Chicago "How to Create, Resize and Delete Linux Partitions With Cfdisk." Sharma, Deepesh (2021-02-22). 2023-05-14. https://www.makeuseof.com/how-to-create-resize-and-delete-linux-partitions-with-cfdisk/.
APA Sharma, Deepesh (2021-02-22). (2023). How to Create, Resize and Delete Linux Partitions With Cfdisk. Retrieved November 24, 2026, from https://www.makeuseof.com/how-to-create-resize-and-delete-linux-partitions-with-cfdisk/
- Datalight ROM-DOS User's Guide · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "Datalight ROM-DOS User's Guide." "Datalight ROM-DOS User's Guide" (PDF). 2026-11-17. https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf. Accessed 24 November 2026.
Chicago "Datalight ROM-DOS User's Guide." "Datalight ROM-DOS User's Guide" (PDF). 2026-11-17. https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf.
APA "Datalight ROM-DOS User's Guide" (PDF). (2026). Datalight ROM-DOS User's Guide. Retrieved November 24, 2026, from https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf
- Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1359563489, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1359563489, retrieved 2026-11-18." Wolverton, Van (2003). 2026-11-17. https://en.wikipedia.org/wiki/Microsoft_Press. Accessed 24 November 2026.
Chicago "Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1359563489, retrieved 2026-11-18." Wolverton, Van (2003). 2026-11-17. https://en.wikipedia.org/wiki/Microsoft_Press.
APA Wolverton, Van (2003). (2026). Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 . Wikipedia revision 1359563489, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Microsoft_Press
- fdisk — PC slice table (MBR) maintenance program · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "fdisk — PC slice table (MBR) maintenance program." a b "fdisk — PC slice table (MBR) maintenance program". 2026-11-17. http://bxr.su/d/sbin/fdisk/. Accessed 24 November 2026.
Chicago "fdisk — PC slice table (MBR) maintenance program." a b "fdisk — PC slice table (MBR) maintenance program". 2026-11-17. http://bxr.su/d/sbin/fdisk/.
APA a b "fdisk — PC slice table (MBR) maintenance program". (2026). fdisk — PC slice table (MBR) maintenance program. Retrieved November 24, 2026, from http://bxr.su/d/sbin/fdisk/
- DR DOS 6.0 User Guide Optimisation and Configuration Tips Wikipedia revision 1359563489, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "DR DOS 6.0 User Guide Optimisation and Configuration Tips Wikipedia revision 1359563489, retrieved 2026-11-18." DR DOS 6. 2026-11-17. https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf. Accessed 24 November 2026.
Chicago "DR DOS 6.0 User Guide Optimisation and Configuration Tips Wikipedia revision 1359563489, retrieved 2026-11-18." DR DOS 6. 2026-11-17. https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf.
APA DR DOS 6. (2026). DR DOS 6.0 User Guide Optimisation and Configuration Tips Wikipedia revision 1359563489, retrieved 2026-11-18. Retrieved November 24, 2026, from https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf
- fdisk — PC slice table maintenance utility · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "fdisk — PC slice table maintenance utility." a b "fdisk — PC slice table maintenance utility". 2026-11-17. http://bxr.su/f/sbin/fdisk/. Accessed 24 November 2026.
Chicago "fdisk — PC slice table maintenance utility." a b "fdisk — PC slice table maintenance utility". 2026-11-17. http://bxr.su/f/sbin/fdisk/.
APA a b "fdisk — PC slice table maintenance utility". (2026). fdisk — PC slice table maintenance utility. Retrieved November 24, 2026, from http://bxr.su/f/sbin/fdisk/
- fdisk — MS-DOS partition maintenance program · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "fdisk — MS-DOS partition maintenance program." a b "fdisk — MS-DOS partition maintenance program". 2026-11-17. http://bxr.su/n/sbin/fdisk/. Accessed 24 November 2026.
Chicago "fdisk — MS-DOS partition maintenance program." a b "fdisk — MS-DOS partition maintenance program". 2026-11-17. http://bxr.su/n/sbin/fdisk/.
APA a b "fdisk — MS-DOS partition maintenance program". (2026). fdisk — MS-DOS partition maintenance program. Retrieved November 24, 2026, from http://bxr.su/n/sbin/fdisk/
- fdisk — partition table maintenance program · retrieved 2026-11-17 · rev 1359563489
Cite this reference
MLA "fdisk — partition table maintenance program." a b "fdisk — partition table maintenance program". 2026-11-17. http://bxr.su/o/sbin/fdisk/. Accessed 24 November 2026.
Chicago "fdisk — partition table maintenance program." a b "fdisk — partition table maintenance program". 2026-11-17. http://bxr.su/o/sbin/fdisk/.
APA a b "fdisk — partition table maintenance program". (2026). fdisk — partition table maintenance program. Retrieved November 24, 2026, from http://bxr.su/o/sbin/fdisk/
- fdisk.tproj/fdisk.8 · retrieved 2019-04-10 · rev 1359563489
Cite this reference
MLA "fdisk.tproj/fdisk.8." a b "fdisk. 2019-04-10. https://web.archive.org/web/20190411071119/https://opensource.apple.com/release/macos-10141.html. Accessed 24 November 2026.
Chicago "fdisk.tproj/fdisk.8." a b "fdisk. 2019-04-10. https://web.archive.org/web/20190411071119/https://opensource.apple.com/release/macos-10141.html.
APA a b "fdisk. (2019). fdisk.tproj/fdisk.8. Retrieved November 24, 2026, from https://web.archive.org/web/20190411071119/https://opensource.apple.com/release/macos-10141.html
- Fdisk · retrieved 2026-10-19 · rev 1359563489
Cite this reference
MLA "Fdisk." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1359563489. Accessed 24 November 2026.
Chicago "Fdisk." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1359563489.
APA Wikipedia. (2026). Fdisk. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1359563489
Cite this article
MLA
"Fdisk." encyclopegia.org, 2026, https://encyclopegia.org/wiki/fdisk. Accessed 24 November 2026.
Chicago
"Fdisk." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/fdisk.
APA
encyclopegia.org. (2026). Fdisk. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/fdisk
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| release date | 1984 | Wikipedia |
| release date | 1987 | Wikipedia |