Share to: share facebook share twitter share wa share telegram print page

Format (command)

format
Written inMS-DOS: x86 assembly language
FreeDOS: C
Operating systemRT-11, 86-DOS, MS-DOS, PC DOS, OS/2, eComStation, ArcaOS, ISIS-II, iRMX 86, TRIPOS, AmigaDOS, Z80-RIO, OS-9, MSX-DOS, FlexOS, PC-MOS, SpartaDOS X, DR DOS, ROM-DOS, 4690 OS, FreeDOS, PTS-DOS, SISNE plus, Windows, ReactOS
PlatformCross-platform
TypeCommand
LicenseMS-DOS: MIT
PC-MOS: GPLv3
FreeDOS: GPLv2
ReactOS: LGPL-2.0-or-later

In computing, format is a command-line utility that carries out disk formatting. It is a component of various operating systems, including 86-DOS, MS-DOS, IBM PC DOS and OS/2, Microsoft Windows and ReactOS.

Overview

The command performs the following actions by default on a floppy disk, hard disk drive, solid state (USB), or other magnetic medium (it will not perform these actions on optical media):

  1. clearing the FAT entries by changing them to 0x00
  2. clearing the FAT root directory by changing any values found to 0x00[nb 1][1][2][3]
  3. checking each cluster to see if it is good or bad and marking it as good or bad in the FAT

Any storage device must have its medium structured to be useful. This process is referred to as "creating a filesystem" in Unix, Linux, or BSD.[4] Under these systems different commands are used. The commands can create many kinds of file systems, including those used by DOS, Windows, and OS/2.

Implementations

FORMAT.COM, among several other commands, in IBM PC DOS 1.0.
FORMAT.CMD in CP/M-86

The command is also available in Intel ISIS-II,[5] iRMX 86,[6] MetaComCo TRIPOS,[7] AmigaDOS,[8] Zilog Z80-RIO,[9] Microware OS-9,[10] DR FlexOS,[11] TSL PC-MOS,[12] SpartaDOS X,[13] Datalight ROM-DOS,[14] IBM/Toshiba 4690 OS,[15] PTS-DOS,[16] SISNE plus,[17] and in the DEC RT-11[18] operating system.

Microsoft DOS and Windows

On MS-DOS, the command is available in versions 1 and later.[19]

Optionally (by adding the /S, for "system" switch), format can also install a Volume Boot Record. With this option, Format writes bootstrap code to the first sector of the volume (and possibly elsewhere as well). Format always writes a BIOS Parameter Block to the first sector, with or without the /S option.

Another option (/Q) allows for what Microsoft calls "Quick Format". With this option the command will not perform steps 2 and 3 above.[citation needed] Format /Q does not alter data previously written to the media.

Typing "format" with no parameters in MS-DOS 3.2 or earlier would automatically, without prompting the user, format the current drive; however in MS-DOS 3.3 and later it would simply produce the error: "required parameter missing".[citation needed]

DR/Novell DOS

DR DOS 6.0 includes an implementation of the format command.[20]

FreeDOS

The FreeDOS version was developed by Brian E. Reifsnyder and is licensed under the GPL.[21]

ReactOS

The format command on ReactOS

The ReactOS implementation is based on a free clone developed by Mark Russinovich for Sysinternals in 1998. It is licensed under the GPL.[22] It was adapted to ReactOS by Emanuele Aliberti in 1999 and supports FAT, FAT32, FATX, EXT2, and BtrFS filesystems.

See also

Notes

  1. ^ The directory entries get filled with 0x00 since MS-DOS 1.25 and PC DOS 2.0. If the Format command line option /O is provided, the first byte of each directory entry is set to 0xE5h to create a FAT format usable by PC DOS 1.0-1.1. However, not providing /O will significantly speed up directory searches under MS-DOS 1.25 and PC DOS 2.0 and higher. Older versions of MS-DOS, PC DOS, and 86-DOS only supported the 0xE5 marker.

References

  1. ^ Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/FORMAT.TXT". Computer History Museum, Microsoft. Archived from the original on 2019-08-14. Retrieved 2014-03-25. (NB. While the publishers claim this would be MS-DOS 1.1 and 2.0, it actually is SCP MS-DOS 1.25 and a mixture of Altos MS-DOS 2.11 and TeleVideo PC DOS 2.11.)
  2. ^ Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Archived from the original on 2019-08-10. Retrieved 2014-03-29. (NB. While the author claims this would be MS-DOS 1.1 and 2.0, it actually is SCP MS-DOS 1.25 and a mixture of Altos MS-DOS 2.11 and TeleVideo PC DOS 2.11.)
  3. ^ Levin, Roy (2014-03-25). "Microsoft makes source code for MS-DOS and Word for Windows available to public". Official Microsoft Blog. Archived from the original on 2014-03-28. Retrieved 2014-03-29. (NB. While the author claims this would be MS-DOS 1.1 and 2.0, it actually is SCP MS-DOS 1.25 and a mixture of Altos MS-DOS 2.11 and TeleVideo PC DOS 2.11.)
  4. ^ newfs(8): EXAMPLE section – FreeBSD System Manager's Manual
  5. ^ "ISIS II Users Guide" (PDF). Archived (PDF) from the original on 2019-01-26. Retrieved 2019-02-03.
  6. ^ "intel :: iRMX :: 146194-001 irmxR6Intro" – via Internet Archive.
  7. ^ https://www.pagetable.com/docs/amigados_tripos/tripos_manuals.pdf Archived 2020-10-21 at the Wayback Machine [bare URL PDF]
  8. ^ Rugheimer, Hannes (1988). Quick reference. Abacus. ISBN 9781557550491. Retrieved 2020-09-14 – via archive.org.
  9. ^ "Z80-RIO OPERATING SYSTEM USER'S MANUAL" (PDF). Archived (PDF) from the original on 2022-01-28. Retrieved 2020-02-14.
  10. ^ Paul S. Dayan (1992). The OS-9 Guru - 1 : The Facts. Galactic Industrial Limited. ISBN 0-9519228-0-7.
  11. ^ "FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2019-09-25. Retrieved 2020-09-14.
  12. ^ "roelandjansen/pcmos386v501". GitHub. 2 January 2022. Archived from the original on 4 May 2021. Retrieved 28 July 2019.
  13. ^ "SpartaDOS X 4.48 User Guide" (PDF). Archived (PDF) from the original on 2021-10-10. Retrieved 2019-03-16.
  14. ^ "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com. Archived (PDF) from the original on 2019-04-21. Retrieved 2020-01-18.
  15. ^ "Users guide". archive.org. Retrieved 2020-09-14.
  16. ^ "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  17. ^ "SISNE plus - Referência Sumária". Datassette. May 14, 2015. Archived from the original on September 28, 2019. Retrieved September 28, 2019.
  18. ^ "RT-11 HELP FILE". paleoferrosaurus.com. Archived from the original on 2018-07-17. Retrieved 2018-07-16.
  19. ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  20. ^ "DR DOS 6.0 User Guide Optimisation and Configuration Tips" (PDF). Archived (PDF) from the original on 2019-09-30. Retrieved 2019-08-12.
  21. ^ "ibiblio.org FreeDOS Package -- Format (FreeDOS Base)". www.ibiblio.org. Archived from the original on 2018-11-19. Retrieved 2018-11-13.
  22. ^ "reactos/reactos". GitHub. 3 January 2022. Archived from the original on 11 December 2017. Retrieved 9 June 2019.

Further reading

Read other articles:

العلاقات الآيسلندية الروسية آيسلندا روسيا   آيسلندا   روسيا تعديل مصدري - تعديل   العلاقات الآيسلندية الروسية هي العلاقات الثنائية التي تجمع بين آيسلندا وروسيا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارنة آيس

سفارة الجزائر في السويد الجزائر السويد الإحداثيات 59°20′34″N 18°04′10″E / 59.34263889°N 18.06944444°E / 59.34263889; 18.06944444 البلد السويد  المكان ستوكهولم تعديل مصدري - تعديل   سفارة الجزائر في السويد هي أرفع تمثيل دبلوماسي[1] لدولة الجزائر لدى السويد.[2][3] تقع السفارة...

Pour les articles homonymes, voir Clarens et Rousseau. Jeannie de ClarensJeannie de Clarens avec R. V. Jones et James Woolsey en 1993.Titre de noblesseVicomtesseBiographieNaissance 1er avril 1919Saint-BrieucDécès 23 août 2017 (à 98 ans)Saint-Georges-de-MontaiguNom de naissance Jannie Yvonne Ghislaine RousseauPseudonymes Amniarix, Madeleine ChauffourNationalité françaiseFormation Institut d'études politiques de ParisActivités Traductrice, résistante, espionneAutres informationsMe...

Cyn

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada November 2022. Cynthia Nabozny atau yang dikenal secara profesional sebagai Cyn adalah penyanyi dan penulis lagu asal Amerika Serikat. Ia menandatangani kontrak dengan label rekaman milik Katy Perry, Unsub Record. Cyn adalah peserta audisi kontes menyanyi American I...

German rally driver (born 1982) Aaron BurkartBurkart at the 2008 Rallye DeutschlandPersonal informationBorn (1982-09-20) September 20, 1982 (age 41)Singen, Baden-Württemberg, GermanyWorld Rally Championship recordActive years2003–2011Rallies38Championships0Rally wins0Podiums0Stage wins0Total points1First rally2003 Rallye Deutschland Aaron Nikolai Burkart (born 20 September 1982) is a German rally driver. He is the 2010 Junior World Rally Champion. Career Burkart began rallying in 2002...

Mi ayamMie ayam disajikan dengan jamur, kangkung, dan sup kaldu ayamNama lainMi ayam cincang, bakmi ayamSajianMenu utamaTempat asalIndonesia[1]DaerahIndonesiaMasakan nasional terkaitIndonesiaSuhu penyajianPanasBahan utamaMi, daging ayam, kecap, bawang putih, minyak goreng (dari lemak ayam atau minyak sayur), kaldu ayam, kangkung, daun bawangEnergi makanan(per porsi )500[2] kkal  Media: Mi ayam Mi ayam adalah hidangan khas Indonesia yang terbuat dari mi gandu...

American diplomat Richard Boly speaking at Wikimania 2012 in Washington, DC Richard Boly is a former career U.S. diplomat and former Director of the Office of eDiplomacy,[1] an applied technology think tank for the U.S. Department of State. Previously, he was a National Security Affairs Fellow at the Hoover Institution at Stanford University,[2] where he launched the Global Entrepreneurship Program.[3] Representing the U.S. Department of State, he served in the U.S. Em...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2016. Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: ...

Belgian politician Vincent Van PeteghemVan Peteghem in 2023Deputy Prime Minister of BelgiumIncumbentAssumed office 1 October 2020Prime MinisterAlexander De CrooMinister of FinanceIncumbentAssumed office 1 October 2020Prime MinisterAlexander De CrooPreceded byAlexander De CrooChamber of RepresentativesIn office2014–2019ConstituencyEast Flanders Personal detailsBorn (1980-10-28) 28 October 1980 (age 43)Ghent, BelgiumPolitical partyCD&VAlma materGhent UniversityOccupationprofe...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يونيو 2019) توم بوكسر معلومات شخصية الميلاد 6 يناير 1977 (46 سنة)[1]  كرايوفا  مواطنة رومانيا  الحياة العملية المهنة دي جيه،  ومنتج أسطوانات،  ومغني  اللغا...

Produção industrial de queijo Processamento de alimentos é um procedimento que altera em nível físico, biológico e químico o alimento in natura. O principal objetivo do processamento de alimentos é o aumento do tempo de duração dos alimentos, pois os alimentos em seu estado in natura são, em geral, muito perecíveis.[1] Esse procedimento ocorre após retirada do alimento da natureza e antes que seja submetido à preparação culinária. Porém, preparações culinárias, incluindo ...

Veldpoort 17e-eeuwse prent van de Veldpoort, door L.P. Serrurier Locatie Locatie Veldpoortstraat, Wijk bij Duurstede Status en tijdlijn Status afgebroken Bouw gereed ± 1350 Sluiting 1871 Portaal    Civiele techniek en bouwkunde De Veldpoort in het najaar van 1870, gezien vanaf de Zandweg (links) en de Veldpoortstraat. Foto's van Van Rheden. Resten van de rechter toegangstoren van de Veldpoort. De Veldpoort is een voormalige stadspoort in Wijk bij Duurstede die gesitueerd was aan de...

School of Tibetan Buddhism Statue of Padmasambhava, a founder of the Nyingma school, in Bhutan Part of a series onTibetan Buddhism Lineages Nyingma Kadam Sakya Bodong Kagyu Jonang Gelug Rimé Key personalities First dissemination Padmasambhāva Śāntarakṣita Kamalaśīla Songtsen Gampo Trisong Detsen Ralpacan Second dissemination Atiśa Talika Abhayakirti Niguma Sukhasiddhi Milarepa Nyingma Yeshe Tsogyal Longchenpa Jigme Lingpa Patrul Rinpoche Dudjom Lingpa Mipham Kagyu Marpa Rangjung Dorj...

Private university in Wilkes-Barre, Pennsylvania, U.S. Wilkes UniversityFormer namesBucknell Junior College Wilkes CollegeMottoUnity Amidst DiversityTypePrivate universityEstablished1933; 90 years ago (1933)AccreditationMSCHEEndowment$54.0 million (2019)[1]PresidentAlan Gregory CantProvostDavid M. WardAcademic staff157 full time[2]Undergraduates2,245Postgraduates2,254LocationWilkes-Barre, Pennsylvania, U.S.41°14′36″N 75°53′27″W / ࿯...

See also: List of counties in Idaho   Pacific Time Zone  Mountain Time Zone  Split between both time zones The U.S. state of Idaho is covered by two time zones, as described below. All locations observe daylight saving time. The Pacific Time Zone (UTC−08:00, DST UTC−07:00) covers an area roughly coterminous with the Idaho Panhandle or North Idaho: Benewah County Bonner County Boundary County Clearwater County Kootenai County (includes Coeur d'Alene) Latah Cou...

2005 video game50 Cent: BulletproofDeveloper(s)Genuine GamesPublisher(s)Vivendi Universal GamesDirector(s)David BroadhurstDesigner(s)Haydn DaltonRob ReiningerProgrammer(s)Steven J. BatisteArtist(s)Han RandhawaGary BrunettiYanick LebelWriter(s)Terry WinterComposer(s)Sha Money XLPlatform(s)PlayStation 2, Xbox, PlayStation PortableReleasePS2, XboxNA: November 17, 2005EU: November 25, 2005PSPNA: August 29, 2006Genre(s)ActionMode(s)Single-player, multiplayer 50 Cent: Bulletproof is an action video...

One of the oldest and largest LGBT organizations in the world Imperial Court System logo The Imperial Court of New York's annual Night of a Thousand Gowns Coronation Ball in Times Square. Craig Hollywood, the 2007 emperor, with his current and two prior empresses. The Imperial Court of New York's annual Night of a Thousand Gowns Coronation Ball in Times Square (2008) The International Imperial Court System (IICS) also known as the International Court System is one of the oldest and largest LG...

Building in India Sakri Solar PlantCountryIndiaLocationShivajinagar, Sakri taluka, Dhule, MaharashtraCoordinates20°59′N 74°19′E / 20.983°N 74.317°E / 20.983; 74.317StatusOperationalCommission dateMarch 2013Construction costRs 20 billionOwner(s)MahagencoSolar farmTypeFlat-panel PVSite area400 acres (160 ha)Power generationNameplate capacity125.0 MW[edit on Wikidata] Sakri Photovoltaic solar energy project is a 125 ...

American basketball player Rahlir Hollis-JeffersonNo. 32 – KatajaPositionPower forwardLeagueKorisliigaPersonal informationBorn (1991-06-26) June 26, 1991 (age 32)NationalityAmericanListed height6 ft 6 in (1.98 m)Listed weight215 lb (98 kg)Career informationHigh schoolChester (Chester, Pennsylvania)CollegeTemple (2009–2013)NBA draft2013: undraftedPlaying career2013–presentCareer history2013–2014AB Contern2014Delaware 87ers2016–2017Orangeville A's...

Johann von Luxemburg im Wappenbuch des Ordens vom Goldenen Vlies (Den Haag, KB, 76 E 10, fol. 77r) Johann von Luxemburg (frz.: Jean de Luxembourg, * um 1436; † 22. Juni 1476 in Murten) aus dem Haus Luxemburg-Ligny war Graf von Marle und Soissons und burgundischer Truppenführer. Johanns Eltern waren Ludwig I. von Luxemburg, Gf. von Saint-Pol († 1475) und Johanna von Bar. Nach dem Tode seiner Mutter erbte er 1462 die Grafschaften Marle und Soissons. Er diente den Herzögen von Burgund, Phi...

Kembali kehalaman sebelumnya