Skip to content

Dosercyan/fdisk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeDOS FDISK

Version 1.0 Written By: Brian E. Reifsnyder

Syntax:

  • FDISK Runs FreeDOS FDISK in interactive mode.
  • FDISK /? [/NOPAUSE] Displays this help information.

FreeDOS FDISK interactive user interface switches:

FDISK /MONO FDISK /XO

Description of FreeDOS FDISK compatibility switches:

/ACTOK Normally skips integrity checking...kept for compatibility. /CMBR Writes the MBR to <drive#>. /EXT Creates an Extended DOS Partition of MB on <drive#>. /LOG creates a logical drive of MB. /LOGO will force the creation of a FAT16 logical drive of MB. /FPRMT Prompts for FAT32/FAT16 in interactive mode. /MBR Writes the MBR to the first hard disk. /PRI Creates a partition of MB on <drive#>. /PRIO Creates a FAT16 partition of MB on <drive#>. /Q Keeps the system from rebooting after you exit FreeDOS FDISK. (Note: FreeDOS FDISK will not reboot after you exit unless rebooting is enabled in the "fdisk.ini" file.) /STATUS Displays the current partition layout. /X Do not use LBA partitions.

Description of FreeDOS FDISK extended switches:

For partition table modification: /AUTO Automatically partitions the hard disk with FAT16 partitions. /ACTIVATE Sets <partition#> active. /CLEAR Erases the partition tables. USE WITH CAUTION! /CLEARALL Erases the partition tables and MBR. USE WITH CAUTION! /DELETE Deletes a partition. /DEACTIVATE Removes the active status from a partition on <drive#>. /EXT Same as /EXT above, except ",100" will indicate that is a percentage and "/SPEC" will specify the partition <type#>. /LOGO will force FreeDOS FDISK to not use FAT32 partitions. /LOG Same as /LOG above, except for the addition of extra functionallity. See /EXT, above, for more information. /LOGO Same as /LOGO above, except for the addition of extra functionallity. /MODIFY Changes the partition type of <partition#> to <newtype#>. Note: The starting <partition#> for logical partitions is "5". /MOVE Moves the entry, in the primary partition table, from <source_partition#> to <dest_partition#>. /PRI Same as /PRI above, except for the addition of extra functionallity. See /EXT, above, for more information. /PRIO Same as /PRIO above, except for the addition of extra functionallity. See /EXT, above, for more information. /SWAP Swaps the 2 partition entries, <first_partition#> and <second_partition#).

For MBR modification:

/AMBR Writes the MBR stored in the "boot.mbr" file. /MBR Writes the MBR to <drive#>. /RMBR Removes the MBR from <drive#>. /SMBR Saves the MBR, on <drive#>, into a "boot.mbr" file.

For handling flags on a hard disk:

/CLEARFLAG Resets the <flag#> or all the flags on <drive#> to 0. /SETFLAG Sets <flag#> to 1 or <flag_value>, if specified. /TESTFLAG: Tests <flag#> for 1 or <flag_value>, if specified.

For obtaining information about the hard disk(s):

/DUMP Dumps all partition information from all hard disks. This function is mainly used for debugging by redirecting the output to a file. /INFO Displays partition information from <drive#>

For rebooting the computer:

/REBOOT Forces a reboot.

Interactive user interface switches:

/MONO Forces the user interface to run in monochrome mode. /XO Enables extended options.

This program is Copyright 1998 - 2001, by Brian E. Reifsnyder, under the terms of the GNU General Public License, version 2.

This program comes as-is and without warranty of any kind. The author of this software assumes no responsibility pertaining to the use or mis-use of this software. By using this software, the operator is understood to be agreeing to the terms of the above.

About

Fixed disk tool - create partitions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.4%
  • Assembly 4.8%
  • HTML 1.3%
  • Other 1.5%