⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 history.txt

📁 fdisk source code, 是一个完整的fdisk的工具。
💻 TXT
📖 第 1 页 / 共 4 页
字号:
                When extended options support is enabled Free FDISK will
                now allow a user to destructively re-size a partition. 

                Re-added the "/I" and the "/DUMP" command line options.

                The error levels returned from executing Free FDISK have
                been organized as follows:
                  0    Normal program completion, no errors
                  1    Syntax error
                  3    Error in the fdisk.ini file
                  4    Error in the part.dat file
                  5    Non-existant hard disk
                  6    Buffer allocation failure
                  7    Hard disk is already partitioned.  (This is only
                       returned if the "/A" function is used and there are
                       already partitions other than a Compaq Diagnostic
                       Partition on the hard disk.)
                  8    Error reading from or writing to the boot.mbr file.
                  9    Miscellaneous error. It is best to examine
                       the output printed to the screen from Free FDISK to
                       determine the exact cause of the problem.
                  20   Flag has been set (see /SETFLAG, /TESTFLAG, and
                       /CLEARFLAG for details)
                  21   Flag has not been set (see errorlevel 20, above)

                Added a D_PATH statement in the fdisk.ini file to display
                the path of the program.  

                Now searches the directory Free FDISK is located in for 
                the fdisk.ini, part.dat, and boot.mbr files before the
                PATH in the environment is searched.

                Fixed some minor misc. bugs and added some error trapping
                to the interactive user interface.
        
                Added confirmation questions for deletion of partitions.

                Re-added support for FAT-32 partitions.

Version 0.97    Now checks for the existence of interrupt 0x13 extensions if
Pre 3           VERSION is set to at least W95 in the fdisk.ini file.  Does
9/4/1999        not, at this time, make use of interrupt 0x13 extensions.

                Has a debugging option added to emulate a 6.2 GB hard disk.
                See the fdisk.ini file for details.

                Thanks go to John Price for assisting me in fixing a bug
                that prevented larger drive sizes of sub 8.2 GB drives from
                being computed properly.

                Added the skeleton of a function to do 64 bit math for 
                future support of hard drives greater than 8.2GB.

                Re-added the "/N" function.  Creating partitions by 
                percentage is not yet supported at the command line, though.

                Re-added code to create partitions by percentage of disk
                space.
                
                Fixed a bug that caused incorrect calculations of free
                areas on the hard disk.  The bug was caused because 
                unsigned variables are always considered positive values 
                when compared with each other using > and < operators.

                Fixed a bug that caused incorrect calculations of the
                locations of free space in the extended partition.

                After an extended partition is created the program now
                will go straight to the user interface for creating
                logical drives.

                The user interface for creating logical drives will
                loop until all the available space is used or the 
                user exists back to the menu.

                Re-added the "/A" command line function and support for
                automatic drive partitioning.

                Added a REBOOT setting in the fdisk.ini file.  If this
                is set to ON and changes were made to a hard disk, then the 
                system will reboot upon exiting the program.  The default 
                setting is off because I do not like programs automatically
                rebooting my system...but somebody may like this feature.

                Added a "/REBOOT" command line function to allow Free FDISK
                to cold start a PC.  

Version 0.97    Re-added the "/AMBR", "/CMBR", "/M", "/MBR", "/RMBR", and 
Pre 2           "/SMBR" command line options.
8/30/1999
                Created the "/ACTIVATE drive# partition#" command to set a 
                partition active from the command line.  This will replace
                part of the functionallity of the "/T" function.

                Created the "/DEACTIVATE [drive#]" command to completely 
                clear all of the active flags on a physical drive.  This
                replaces part of the functionallity of the "/T" function.

                Fixed a bug that would corrupt the master boot code when
                writing the partition tables to a hard disk.

                Fixed a bug that would write an incorrect number of sectors
                for the partition size in the extended partition tables.

                Fixed a bug that prevented the last partition table for the 
                last logical drive on the disk from being written.

                Added the menu functions to create and delete logical drives.

                Added code in the Input() function to handle the keyboard 
                entry of a single character.

                Removed some global variables that are no longer in use.

                Cleaned up or removed some of the left over dead source code 
                remaining from version 0.96.

                Added some code to prevent users from performing illegal
                operations while using the interactive setup.  (i.e.  Trying
                to delete a non-existant Extended DOS Partition.)  Other
                illegal operations may still be possible at this time.

                Added code to handle logical drives in the extended 
                partition.
                
                Fixed a bug that incorrectly calculated the relative sector
                fields in the partition table for primary partitions that
                do not start at Cyl. 0, Head 1, Sect. 1.

                Fixed a few other misc. bugs.
                
                Volume labels, file system types, and drive letters are
                now displayed for the logical drives.

                Made a couple of minor "look and feel" changes.

Version 0.97    The menuing system has been completely re-written.  Some
Pre 1           screens are still "rough" and screens pertaining to
7/7/1999        adding or deleting logical drives have yet to be written.

                Partition table information is now stored in a large
                structural array that is loaded upon running the
                program.  Upon exiting the program, only the drives that
                have changes made to are written to.

                New functions to create and delete primary partition have 
                been written.

                A new function has been added that determines the
                locations and sizes of the largest available free space.

                Built-in debugging functions have been added, see the
                fdisk.ini file for details.  These functions are 
                enabled and disabled in the fdisk.ini file.

                The program can now be run in a "read only" mode.  This
                mode is enabled by setting WRITE=OFF in the fdisk.ini 
                file.  If WRITE=OFF is set, then debugging information
                is displayed that indicates what would have been written
                to the disk if WRITE was set to ON.  

                Volume labels, file system types, and drive letters are
                now displayed for the primary partitions.

                The BeOS file system type has been added to the part.dat 
                file.

                The fdisk.ini file now has a VERSION= setting that
                controls what version of MS-FDISK this program emulates.
                The default is version 6.

                The program now checks what filename was used to
                execute it.  When the help screen is displayed, it will
                now use its filename on the syntax screen.  (i.e.  If
                Free FDISK has a filename of "FFDISK.EXE" then the 
                syntax screen will display FFDISK.

                There is now a LABEL= option in the fdisk.ini file.  
                When LABEL=ON, the words "Free FDISK" are displayed   
                vertically on the right-hand side of the screen.  This
                feature has been added to help avoid confusion between
                Free FDISK and other versions of FDISK.

                Currently, only the "/PRI", "/EXT", "/STATUS", "/C", "/L", 
                and "/?" command line functions are available.

                A new input routine has been created to make it easier
                to program the menuing system with a uniform method
                of obtaining input from the keyboard.

                Please see the bugs.txt file for information on what
                functions do not yet work.

Version 0.97    MAJOR RE-WRITE

                Approximately 95% of the code has been re-written or
                modified do to a serious bug discovered in versions
                0.96 and prior.  This bug would cause partitions to
                be created that overlap other partitions under 
                certain, very specific, circumstances.  Because
                this bug was due to a design flaw in the partitioning
                strategy used by older versions, it was determined that
                it would be easier to re-write the program.  

                Version 0.97 will consist of several "Pre" versions 
                that do not have all the features in version 0.96.  All
                the "Pre" versions will gradually have features added 
                until all the features of version 0.96 exist in the 
                final version of Free FDISK 0.97.

Version 0.96    Now de-allocates the buffers any time the program exits back
5/4/1999        to DOS. 

                Compressed the executable with APACK, by Joergen Ibsen.  As
                a consequence, the executable is now about 70% smaller.

                Added a command-line parsing routine to handle certain     
                command-line options that can be in any order.

                Added the following command-line switches for MS FDISK
                compatibility:  /ACTOK, /PRI, /EXT

                Added the /XO function that allows "eXtended Options" while
                using the menu system.
                  Extended Options that have been added thus far:
                    1.  Allows more than one Primary DOS partition.
                    2.  Partitions can be "hidden" from DOS.
                    3.  The partition ID byte can be modified.

                Added code to automatically write the MBR if the drive has
                never been partitioned.

                Added a routine in the menuing system to warn the user if a
                primary partition is not active on the first drive.

                For the purpose of hiding partitions from DOS I have added the
                following partition types to the part.dat file:
                Type:        Description:
                141          FreeDOS hidden DOS-12 partition
                144          FreeDOS hidden DOS-16 < 32MB partition
                145          FreeDOS hidden Extended partition
                146          FreeDOS hidden DOS-16 > 32MB partition
                151          FreeDOS hidden FAT32 partition
                152          FreeDOS hidden FAT32 PRI LBA partition
                154          FreeDOS hidden FAT16 PRI LBA partition
                155          FreeDOS hidden FAT16 Extended LBA partition

                Primary DOS partitions are now deleted on a "last first"
                basis if more than one Primary DOS partition exists.

                Modified the descriptions for FAT partitions listed in the 
                part.dat file to help avoid confusion between partition
                types.

                Adjusted size computation equations to increase the accuracy
                of the reported sizes of the partitions.

                Fixed a bug that caused the wrong partitions to be displayed
                as active under certain circumstances when a "fdisk /dump" or
                a "fdisk /status" is issued.

                Now only asks if you want to use large disk support in the
                interactive setup if you enter fdisk /lds

                Free FDISK now has a better description of large disk support
                on the screen where the "large disk support" question is 
                asked.

                Added support for an optional fdisk.ini file to allow some 
                frequently used command line options to be saved.  View and
                modify the fdisk.ini file with your favorite text editor
                for details.  If the fdisk.ini file is not found then fdisk
                will use it's default settings.  Any options on the command
                line will override the fdisk.ini settings, if applicable.

                Added the capability to search the path as defined in the 
                environment to find the part.dat, fdisk.ini, and boot.mbr
                files.

Version 0.95    Fixed the bug that prevented FAT12 partitions from having
4/16/1999       the proper upper limit of 15MB.

Version 0.94A   Fixed a bug that prevented FAT32 partitions larger than 2GB
4/6/1999        from being created while using the command line.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -