DriveSpace

From Wikipedia, the free encyclopedia

  (Redirected from DoubleSpace)
Jump to: navigation, search
Screenshot of DriveSpace running on Windows 95

DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0. The purpose of DriveSpace is to increase the amount of data the user could store on disks, by transparently compressing and decompressing data on-the-fly. It is primarily intended for use with hard drives, but use for floppy disks is also supported. There have even been people who claim to have compressed USB flash drives and other removable media.[citation needed]

Contents

[edit] Overview

In the most common usage scenario, the user would have one hard drive in the computer, with all the space allocated to one partition (usually as drive letter C). The software would compress the entire drive contents into one large file in the root partition. On booting the system, the driver would allocate this large file as C drive, enabling files to be accessed as normal.

Microsoft's decision to develop DoubleSpace and add it to MS-DOS was probably influenced by the fact that DOS-based operating systems from other manufacturers (IBM and Novell) had started including disk compression software in their products.

[edit] Reception and incompatibilities

Initially, DoubleSpace was surrounded by an air of mystery. Many had difficulties understanding how it was possible to store more data on the disk than it could actually contain. This led to much speculation, with some users thinking DoubleSpace changed the way data was stored physically on the disk, and there were rumors that using DoubleSpace would reduce the longevity of the disks or the computer itself. This was of course a misunderstanding: DoubleSpace used purely logical/software means to obtain its results and was not different from other compression tools like PKZIP; except that it handled the compression/decompression transparently to the user.

A few computer programs, particularly games, were incompatible with DoubleSpace because of the way they accessed the disk: in effect bypassing the DoubleSpace driver. DoubleSpace also consumed a significant amount of conventional memory, making it difficult to run memory-intensive programs.

Some users reported data loss believed to be caused by DoubleSpace. Some of these cases were attributed to cases where the memory used by DoubleSpace was corrupted by other programs, and Microsoft attempted to remedy this in the MS-DOS 6.2 version of DoubleSpace. Another situation that led to data loss was the accidental deletion of the file on the host drive that contained the compressed data: in effect, a user could delete all his/her data by deleting just one file.

Another problem was attributed to users turning off their computer before DoubleSpace had finished writing a "virtual file" back to the file DBLSPACE.000. This was compounded by Microsoft concurrently releasing an option that allowed the MS-DOS prompt to reappear for use before MS-DOS had finished writing a file back to disk.

[edit] Add-ons

The company AddStor, Inc. offered an add-on product called Double Tools for DoubleSpace. It contained a number of tools to enhance the functions of the version of DoubleSpace that came with MS-DOS 6.0. This included various diagnostic features as well as support for background defragmentation of DoubleSpace compressed drives.[1] Optionally, it was possible to let DoubleTools replace the low-level DoubleSpace driver (DBLSPACE.BIN) with one supplied by DoubleTools, enabling enhanced functionality of the product.[2]

[edit] Later versions

[edit] MS-DOS 6.2

DOS 6.2 featured a new and improved version of DoubleSpace. The ability to remove DoubleSpace was added. The program SCANDISK introduced in this release was able to scan the non-compressed and compressed drives, including checks of the internal DoubleSpace structures. Security features (known as DoubleGuard) were added to prevent memory corruption from leading to data loss. The memory footprint of the DoubleSpace driver was reduced compared to the version shipped in MS-DOS 6.0.

[edit] MS-DOS 6.21

Following a successful lawsuit by Stac Electronics regarding demonstrated patent infringement, Microsoft released MS-DOS 6.21 without DoubleSpace. A court injunction also prevented any further distribution of the previous versions of MS-DOS that included DoubleSpace.

[edit] MS-DOS 6.22

MS-DOS 6.22 contained a reimplemented version of the disk compression software, but this time released under the name DriveSpace. The software was essentially identical to the MS-DOS 6.2 version of DoubleSpace from a user point-of-view, and was compatible with previous versions.

[edit] DriveSpace in Windows 95

DriveSpace running on Windows 95, Portuguese version

Windows 95 had full support of DoubleSpace/DriveSpace via a native 32-bit driver for accessing the compressed drives, along with a graphical version of the software tools. MS-DOS DriveSpace users could upgrade to Windows 95 without any troubles. Furthermore, the Microsoft Plus! for Windows 95 pack contained version 3 of DriveSpace. This version introduced new compression formats (HiPack and UltraPack) with different performance characteristics for even greater compression ratios along with a tool that could recompress the files on the disk using the different formats, depending on how frequently the files were used etc. One could upgrade from DriveSpace 2 to DriveSpace 3 but not vice versa. One could however decompress a DriveSpace 3 drive. The DOS device driver of DriveSpace 3 had a memory footprint of around 150 KB because of all these new features. This caused difficulty for users rebooting into the MS-DOS mode of Windows 95 for running games, because of the reduced amount of conventional memory available.

DriveSpace 3 also shipped with Windows 95 OSR2 but many features were disabled unless Plus! was also installed. DriveSpace could also not be used with FAT32, making it of little use on PCs with large hard drives.

[edit] DriveSpace in Windows 98

Windows 98 shipped with DriveSpace 3 as part of the operating system. Functionality was the same as in Windows 95 with Plus!.

[edit] DriveSpace in Windows Me

Because of the removal of real mode support and the decreasing popularity of DriveSpace, DriveSpace in Windows Me had only limited support. DriveSpace no longer supported hard disk compression, but still supported reading and writing compressed removable media, although the only DriveSpace operation supported beside that was deleting and reallocating compressed drives.

[edit] Compression for other common Windows file systems

  • FAT32 is not supported by DriveSpace tools.
  • NTFS has its own compression technology ("compact") native to Windows NT-based operating systems instead of DriveSpace.

[edit] Support outside Microsoft

Linux kernel driver DMSDOS was developed in late 1990s, supported both reading and writing of all versions of DoubleSpace/DriveSpace disks. However, reading and especially writing to compressed filesystem is reliable only in specific versions of 2.0,2.1 or 2.2 line of kernels.

[edit] External links

[edit] References

  1. ^ Tom R. Halfhill (1994). "How Safe Is Data Compression?". http://www.byte.com/art/9402/sec6/art1.htm. 
  2. ^ Howard Eglowstein (1994). "Data Loss: A Cautionary Tale". http://www.byte.com/art/9402/sec6/art3.htm.