|Command||tcl.fdisk Verb: Access/TCL
Applicable release versions: R83, AP/DOS, AP/Native
|Description||invokes a menu to display or alter the fixed disk partition parameters. This is also used to change the active partition prior to rebooting.
Displays the current fixed disk partition parameters and current disk configuration, or changes the active partition.
This information is kept on the Master Fixed Disk Boot Record ("MFDBR"). When the system is booted, the operating system on the partition marked active in the "MFDBR" assumes control of the computer. If no partition is marked active, the system cannot be booted from hard disk.
When fdisk is invoked, a menu with the following options is displayed:
0 Returns user to TCL without executing fdisk.
1 Creates a Pick partition. It displays the current partitions defined in the MFDBR, but does not do anything else. It is provided for compatibility with the PC DOS FDISK command.
2 Changes active partition. This is used to select the partition that contains the desired operating system. The partition that is marked active assumes control the next time the system is booted.
3 Deletes Pick partition. This is used to delete from the MFDBR the reference to the partition that currently has control of the computer (the currently active partition). If there is more than one partition, before the currently active partition can be deleted, another partition must be marked active using option 2. The only partition that can be deleted is the currently active partition.
4 Displays partition data. This is used to display the status of all partitions.
5 Switches and displays parameters. This displays the statistics for the current drive, and if the system supports two drives, gives the option to select one drive or the other.
9 Undoes changes to "MFDBR". This returns the partition settings in the MFDBR to those that were in effect when "fdisk" was invoked.
:fdisk IBM Personal Computer and true compatibles Fixed DISK setup program version 2.1 PC-AT (C)Copyright Pick Systems 1985 08:00:00 16 Jan 1997 FDISK Options Current fixed disk drive: 1 Choose one of the following: 0. QUIT AND RETURN TO TCL 1. Create Pick partition 2. Change active partition 3. Delete Pick partition 4. Display partition data 5. Switch and display parameters 9. Undo changes to MFDBR Enter choice: [ ] IBM Personal Computer and true compatibles Fixed DISK setup program version 2.1 PC-AT (C)Copyright Pick Systems 1985 08:00:00 16 Jan 1997 Display partition information for disk 1 # STAT TYPE START END CYLN SIZE MB 1 A GM-AT AP 0001 0612 0612 20.32 2 3 4 Fixed disk space is 614 Cylinders. 20.39 Mbytes. Press ESC to return to FDISK option [ ]