home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
- DiskInfo
-
- Version 1.03
-
-
- A Disk Information Utility For Ms-Dos
-
-
- (c) Copyright 1991, by Kenneth R. Doebler
- All Rights Reserved
-
-
-
- released January 20, 1991
-
-
-
-
-
- Disclaimer - Agreement
- ----------------------
-
- Users of DiskInfo must accept this disclaimer of warranty:
-
- "DiskInfo is supplied as is. The author disclaims all warranties,
- expressed or implied, including, without limitation, the warranties
- of merchantability and of fitness for any purpose. The author
- assumes no liability for damages, direct or consequential, which
- may result from the use of DiskInfo."
-
- DiskInfo is a "shareware program" and is provided at no charge to
- the user for evaluation. Feel free to share it with your friends,
- but please do not give it away altered or as part of another
- package or system. The essence of "user-supported" software is to
- provide personal computer users with quality software without high
- prices, and yet to provide incentive for programmers to continue to
- develop new products.
-
- If you find this program useful and find that you are using
- DiskInfo and continue to use DiskInfo after a reasonable trial
- period, I would ordinarily be asking that you make a registration
- payment of some kind. The registration fee would license one copy
- for use on any one computer at any one time.
-
- Since I am not set up and ready to receive registration payments at
- this time, and since this is the first utility to be released by
- myself, and since this is indeed a fairly simple utility, I am at
- this time waiving the usual registration fee. However, future
- versions of DiskInfo, as well as other utilities to be released,
- may require a registration payment to license one copy.
-
- Commercial users of DiskInfo must register by contacting Ken
- Doebler within 30 days of first use or their license is withdrawn.
- Site-License arrangements may be made by contacting Ken Doebler.
-
- Anyone distributing DiskInfo for any kind of remuneration must
- first contact Ken Doebler at the address listed at the end of this
- document for authorization.
-
- You are encouraged to pass a copy of DiskInfo along to your friends
- for evaluation, provided that you:
-
- 1) Do not modify or alter the original program or documentation
- files in any way.
-
- 2) Pass along the complete archive with all files included,
- in it's original unaltered form.
-
- Future releases of DiskInfo may require registration. Registered
- users of DiskInfo and other Software Resource utilities will be
- granted access to special support conferences on The Software
- Resource.
-
-
- DiskInfo Overview
- -----------------
-
- DiskInfo is a simple utility that will display information about
- the current drive or the drive specified on the command line. The
- information displayed is obtained from the disk's boot sector, or
- more specifically, the BIOS Parameter Block (BPB).
-
- While this is a very simple utility, the information displayed by
- DiskInfo can often be very useful. DiskInfo can tell you a variety
- of things about a disk, including total disk space, free disk
- space, cluster size, type of media, FAT type, sector and track
- information, and root directory capacity just to mention a few.
-
- DiskInfo was written and compiled using Microsoft's BASIC 7.0 PDS
- (Professional Development System) with a little additional help
- from Microsoft's MASM 5.1.
-
-
- How it works
- ------------
-
- DiskInfo uses DOS Interrupt 25h (Absolute Disk Read) to read the
- disk's boot sector into memory, where it then deciphers most of the
- information it displays. Prior to doing this, DI also scans your
- root directory to obtain the volume label information and makes a
- call to DOS Interrupt 21h, Function 36h to obtain the amount of
- disk free space available, along with a few other necessary DOS
- calls to determine valid drives and so on.
-
-
- Usage Syntax
- ------------
-
- DiskInfo can be invoked in one of two ways as follows:
-
- 1) DI
-
- 2) DI <drive> or <drive:>
-
- If DiskInfo is invoked without any command line arguments (1) then
- DI will report information on the currently logged (default) drive.
- No other command line arguments are available. DI will accept all
- valid drive letters, upper or lowercase, from A-Z, with or without
- an appended colon.
-
-
- Information Displayed
- ---------------------
-
- DiskInfo displays a full screen of information about the selected
- disk as described below:
-
-
- Volume Label : The disk's volume label. If no volume
- label is present, DI will display "None"
- in this field.
- Media Type : The type of disk, for example, single
- sided floppy, double sided floppy, fixed
- disk (hard disk), and so on.
- OEM ID : The system name field. This field
- identifies the manufacturer whose system
- formatted the disk. Some manufacturers do
- not put a name here.
- Total Space : Total disk space in bytes.
- Space Used : Allocated disk space occupied by files.
- Space Available : Free disk space available and unallocated.
- Bytes Per Sector : Indicates your sector size in bytes. This
- should always be 512 for DOS disks.
- Total Disk Sectors : Indicates the total number of usable
- sectors on the disk, regardless of whether
- they are free, used or marked bad by DOS.
- Usable refers to sectors which are
- theoretically available to DOS for file
- allocation.
- Bytes Per Cluster : Indicates the disk's cluster size in bytes.
- This value can vary depending upon how the
- disk was formatted.
- Total Disk Clusters : Indicates total disk clusters available for
- file allocation.
- Sectors Per Cluster : The number of sectors per cluster. This
- can vary depending upon the disk format.
- Reserved Sectors : The number of sectors reserved by DOS and
- not available for use.
- Sectors Per Track : The number of sectors per disk track.
- Total Cylinders : The total number of cylinders (or tracks)
- on the disk.
- Hidden Sectors : Total number of hidden sectors on the disk.
- Root Dir Sectors : The number of sectors allocated to the
- disk's root directory. This is fixed and
- set when the disk is formatted.
- Root Starting Sector : The starting sector number for the disk's
- root directory.
- Maximum Root Entries : The maximum number of directory entries
- which the root directory can hold.
- Sectors Per FAT : The size in sectors of one copy of the
- disk's FAT (File Allocation Table).
- Number Of FATs : The number of copies of the disk's FAT.
- This is typically 2, however more copies
- are possible.
- Total FAT Sectors : Total number of disk sectors occupied by
- copies of the FAT.
- Bits Per FAT Entry : The number of bits in one FAT entry. This
- can vary from 12 bits on floppies to 32
- bits on hard disks running under newer
- versions of DOS.
- File Data Start Sector: The starting sector number on the disk
- where files can be stored. The data area
- for files immediately follows the disk's
- boot sector, FAT and root directory. This
- is the first sector which is available for
- file storage on the disk.
- File Data End Sector : The last sector number of the file storage
- area on the disk. This is the highest
- sector number available for file data.
- Media Descriptor : This is the media descriptor byte which
- indicates the type of disk media. This
- value is used to determine the Media Type
- listed in the field above.
- Number Of Heads : The number of heads for the disk.
- Extended Partition : Indicates whether this is a DOS Extended
- Partition larger than 32 Megabytes. Only
- possible with DOS 3.31 and above.
- Signature Byte : If DI detects an Extended Partition and DOS
- 4.0 or higher, then a signature byte for
- the partition should be present.
- Volume Serial Number : If DI detects an Extended Parition and DOS
- 4.0 or higher, then a volume serial number
- for the partition should be present. This
- is used as a further means to identify the
- disk beyond the volume label alone.
-
-
- Miscellaneous Comments
- ----------------------
-
- I am somewhat color blind in that I only have a monochrome monitor
- to work with, so it is entirely possible that the colors DiskInfo
- displays may be a little strange looking. I will try and remedy
- this situation by doing some testing on CGA and EGA systems in
- other locations, however, at the time of this release, I have not
- been able to do so yet. Any suggestions relating to colors from
- those of you who enjoy color monitors would be appreciated.
-
- DiskInfo was a relatively small project, and hence did not require
- much in the way of beta testing. I would, however, like to thank
- the following individuals for their help in doing some last minute
- testing of DiskInfo. Several bugs were found and squashed and some
- helpful suggestions were made:
-
- David Wurz
- Ross Wentworth
- Basil Groman
- Dave Ransom
-
- My special thanks to Basil Groman for all of his help in tracking
- down and fixing the DOS 4.x large partition related problems.
-
-
- History And Revisions
- ---------------------
-
- Version 1.03
- ------------
-
- o Corrected an error in the display of DOS 4.x Volume Serial
- Numbers.
- o Fixed a bug which caused DiskInfo to display incorrect Total Disk
- Space, Available Space and Total Disk Clusters when used on DOS
- 4.x large partitions.
-
-
- Version 1.02
- ------------
-
- o Finally tracked down and fixed a bug which caused error messages
- to be displayed when DiskInfo was used on a DOS 4.x large
- partition. Hopefully, this will solve all of the reported
- problems relating to reading DOS 4.x disks.
-
-
- Version 1.01
- ------------
-
- o Made a few minor cosmetic adjustments to the colors.
- o Added support for DOS 4.xx and large partitions. DiskInfo
- should now work with any DOS version from 2.xx thru 5.0 beta.
- o Fixed a bug which was causing lock-ups and other strange error
- messages when used on a partition > 32 MB.
- o Corrected an error in the Media Type displayed for DS 15-SPT
- floppies.
-
-
- Version 1.00 (original release)
- -------------------------------
-
- DiskInfo is a very small utility and one which is an outgrowth of
- a much larger project. The larger project has been in development
- for well over a year and has since proven to be too cumbersome to
- work with as a single entity. Therefore, rather than release one
- single large program, I have decided to release several individual
- stand-alone utilities, which may, at some future time, be tied
- together with some type of shell. DiskInfo is the first in what
- will be an extensive series of Ms-Dos utilities relating to file
- and disk management.
-
- DiskInfo has been tested on several machines with good results,
- however, I would appreciate any feedback or bug reports on it if
- you encounter problems. Every effort has been made to eliminate
- existing problems, but it is very possible that other things will
- surface when it is tested on a wider variety of machines and
- versions of DOS. I would appreciate any comments or reports of
- problems that you may have.
-
- Several other utilities are currently in various stages of testing
- and development and some will require further beta testing before
- their public release. When these utilities are released, they will
- be available on The Software Resource.
-
- The latest version of DiskInfo can always be obtained directly from
- the following source:
-
-
- The Software Resource
- 1200-2400 bps
- 24 Hours Daily
- (213) 214-2018 (data)
- Fidonet Address: 1:102/330
-
-
- Please direct all comments, bug reports and inquiries to the Sysop
- in the Utilities conference in the Local message areas. If you are
- a node in Fidonet, I am reachable via netmail at the above address.
-
-
- Other Credits
- -------------
-
- BASIC PDS and MASM are (c) Copyright Microsoft Corporation,
- 1981-1990.
-
-
-
-
-
- Ken Doebler
- Torrance, Ca
- January 20, 1991
-
- <End Of Document>
-