Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

fdisk

From Wikipedia, the free encyclopedia
(Redirected fromFDISK)
Command line utility of DOS and Microsoft Windows operating systems
fdisk
Screenshot of FDISK onMS-DOS
Developer(s)Robert Baron,IBM,Microsoft,Digital Research,Datalight,Novell, Brian E. Reifsnyder
Initial release1983, 41–42 years ago
Operating systemMS-DOS,PC DOS,FlexOS,SISNE plus,OS/2,eComStation,ArcaOS,Windows,DR DOS,ROM-DOS,FreeDOS,PTS-DOS, *BSD,[1]SysV
TypeCommand
LicenseMS-DOS, PC DOS, FlexOS, OS/2, Windows, DR DOS, ROM-DOS, PTS-DOS:Proprietarycommercial software
FreeDOS:GNU GPLv2

fdisk is acommand-line utility fordisk partitioning. It has been part ofDOS,DRFlexOS,IBMOS/2, and early versions ofMicrosoft Windows, as well as certain ports ofFreeBSD,[2]NetBSD,[3]OpenBSD,[4]DragonFly BSD[5] andmacOS[6] for compatibility reasons.Windows 2000 and its successors have replaced fdisk with a more advanced tool calleddiskpart.

Implementations

[edit]

DOS

[edit]

IBM introduced the first version of fdisk (officially dubbed "Fixed Disk Setup Program") in March 1983, with the release of theIBM PC/XT computer (the first PC to store data on ahard disk) and theIBM PC DOS 2.0 operating system. fdisk version 1.0 can create oneFAT12 partition, delete it, change theactive partition, or display partition data. fdisk writes themaster boot record, which supports up to four partitions. The other three were intended for other operating systems such asCP/M-86 andXenix, which were expected to have their own partitioning utilities.

Microsoft first added fdisk toMS-DOS in version 3.2.[7] 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 forFAT16 partitions to handle larger hard disks more efficiently. PC DOS 3.30, released in April 1987, added support forextended partitions. (These partitions do not store data directly but can contain up to 23logical drives.) In both cases, fdisk was modified to work with FAT16 and extended partitions. Support forFAT16B 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 themaster boot record, soon became popular.

IBM PC DOS 7.10 shipped with the new fdisk32 utility.

ROM-DOS,[8]DR DOS 6.0[9]FlexOS,[10]PTS-DOS 2000 Pro,[11] andFreeDOS,[12] include an implementation of the fdisk command.

Windows

[edit]
The fdisk command onMicrosoft Windows 95

Windows 95,Windows 98, andWindows ME shipped with a derivative of the MS-DOS fdisk.Windows 2000 and its successors, however, came with the more advanced[according to whom?]diskpart and the graphicalDisk Management utilities.

Starting with Windows 95 OSR2, fdisk supports theFAT32 file system.[13]

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.[14] 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

[edit]

Before version 4.0,OS/2 shipped with two partition table managers. These were thetext mode fdisk[15] and thegraphical fdiskpm.[16] The two have identical functionality, and can manipulate both FAT partitions and the more advancedHPFS partitions.

OS/2 4.5 and higher (includingeComStation andArcaOS) can use theJFS file system, as well as FAT and HPFS. They replaced fdisk with theLogical Volume Manager (LVM).

Mach and 386BSD

[edit]

fdisk forMach Operating System was written by Robert Baron. It was ported to386BSD by Julian Elischer,[17] and the implementation is being used byFreeBSD,[2]NetBSD[3] andDragonFly BSD,[5] all as of 2019, as well as the early versions ofOpenBSD between 1995 and 1997 before OpenBSD 2.2.[1]

Tobias Weingartner re-wrote fdisk in 1997 before OpenBSD 2.2,[4] which has subsequently been forked byApple Computer, Inc in 2002, and is still used as the basis for fdisk on macOS as of 2019.[6]

For native partitions, BSD systems traditionally useBSD 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

[edit]

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 atext-based user interface (TUI).[18]

See also

[edit]

References

[edit]
  1. ^ab"fdisk(8) — PC slice table (MBR) maintenance program".System Manager's Manual.FreeBSD,NetBSD,OpenBSD,DragonFly BSD.
  2. ^ab"fdisk — PC slice table maintenance utility".BSD Cross Reference.FreeBSD.
  3. ^ab"fdisk — MS-DOS partition maintenance program".BSD Cross Reference.NetBSD.
  4. ^ab"fdisk — partition table maintenance program".BSD Cross Reference.OpenBSD.
  5. ^ab"fdisk — PC slice table (MBR) maintenance program".BSD Cross Reference.DragonFly BSD.
  6. ^ab"fdisk.tproj/fdisk.8",macOS 10.14.1,Apple, archived fromthe original on 2019-04-11, retrieved2019-04-11
  7. ^Wolverton, Van (2003).Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition.Microsoft Press.ISBN 0-7356-1812-7.
  8. ^"Datalight ROM-DOS User's Guide"(PDF).www.datalight.com.
  9. ^DR DOS 6.0 User Guide Optimisation and Configuration Tips
  10. ^http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdfArchived 2019-09-25 at theWayback Machine[bare URL PDF]
  11. ^"PTS-DOS 2000 Pro User Manual"(PDF). Buggingen, Germany:Paragon Technology GmbH. 1999.Archived(PDF) from the original on 2018-05-12. Retrieved2018-05-12.
  12. ^"ibiblio.org FreeDOS Group -- FreeDOS Base".www.ibiblio.org. Retrieved2020-06-03.
  13. ^"How to Use the Fdisk and Format Tools to Partition or Repartition a Hard Disk".Support (6.0 ed.).Microsoft. 28 June 2012.
  14. ^"Fdisk Does Not Recognize Full Size of Hard Disks Larger than 64 GB".Support (4.0 ed.).Microsoft. 24 August 2012.
  15. ^"JaTomes Help - OS/2 Commands". Archived fromthe original on 2019-04-14. Retrieved2019-06-20.
  16. ^"JaTomes Help - OS/2 Commands". Archived fromthe original on 2019-04-14. Retrieved2019-06-20.
  17. ^"Fdisk".
  18. ^Sharma, Deepesh (2021-02-22)."How to Create, Resize and Delete Linux Partitions With Cfdisk".MUO. Retrieved2023-05-15.

Further reading

[edit]

External links

[edit]
Wikibooks has a book on the topic of:Guide to Windows Commands
Ecosystem
Interpreters
Terminals
File system navigation
File management
Archiving
Disk management
Processes
Registry
User environment
File contents
Scripting
Networking
Maintenance and care
Boot management
Software development
Miscellaneous
Retrieved from "https://en.wikipedia.org/w/index.php?title=Fdisk&oldid=1276185215"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp