HOME

TheInfoList



OR:

A disk compression software utility increases the amount of information that can be stored on a
hard disk A hard disk drive (HDD), hard disk, hard drive, or fixed disk is an electro-mechanical data storage device that stores and retrieves digital data using magnetic storage with one or more rigid rapidly rotating platters coated with magnet ...
drive of given size. Unlike a file compression utility, which compresses only specified files—and which requires the
user Ancient Egyptian roles * User (ancient Egyptian official), an ancient Egyptian nomarch (governor) of the Eighth Dynasty * Useramen, an ancient Egyptian vizier also called "User" Other uses * User (computing), a person (or software) using an ...
to designate the files to be compressed—an on-the-fly disk compression utility works automatically through resident software without the user needing to be aware of its existence. On-the-fly disk compression is therefore also known as transparent, real-time or online disk compression. When information needs to be stored to the hard disk, the utility compresses the information. When information needs to be read, the utility decompresses the information. A disk compression utility overrides the standard operating system routines. Since all software applications access the hard disk using these routines, they continue to work after disk compression has been installed. Disk compression utilities were popular especially in the early 1990s, when
microcomputer A microcomputer is a small, relatively inexpensive computer having a central processing unit (CPU) made out of a microprocessor. The computer also includes memory and input/output (I/O) circuitry together mounted on a printed circuit board (PC ...
hard disks were still relatively small (20 to 80
megabyte The megabyte is a multiple of the unit byte for digital information. Its recommended unit symbol is MB. The unit prefix ''mega'' is a multiplier of (106) in the International System of Units (SI). Therefore, one megabyte is one million bytes o ...
s). Hard drives were also rather expensive at the time, costing roughly 10 USD per megabyte. For the users who bought disk compression applications, the software proved to be in the short term a more economic means of acquiring more disk space as opposed to replacing their current drive with a larger one. A good disk compression utility could, on average, double the available space with negligible speed loss. Disk compression fell into disuse by the late 1990s, as advances in hard drive technology and manufacturing led to increased capacities and lower prices.


Common disk compression solutions


Standalone hardware

Some of the initial disk compression solutions were hardware-assisted and utilized add-on compressor/decompressor
coprocessor A coprocessor is a computer processor used to supplement the functions of the primary processor (the CPU). Operations performed by the coprocessor may be floating-point arithmetic, graphics, signal processing, string processing, cryptography o ...
cards in addition to a software driver. Known solutions include: * Stacker XT/8 and Stacker AT/16 from
Stac Electronics Stac Electronics, originally incorporated as State of the Art Consulting and later shortened to Stac, Inc., was a technology company founded in 1983. It is known primarily for its Lempel–Ziv–Stac lossless compression algorithm and Stacker dis ...
* Expanz! and Expanz! Plus from InfoChip Systems * DiskDoubler dd2000 from Datran Corporation * MRCI (Microsoft Real-Time Compression Interface) from Microsoft


Standalone software

With increasing PC processor power software-only solutions began to reach or even outperform the performance of hardware-assisted solutions in most scenarios. These compression utilities were sold independently. A user had to specifically choose to install and configure the software. * Squish and Squish Plus from
Sundog Software A sun dog (or sundog) or mock sun, also called a parhelion (plural parhelia) in meteorology, is an atmospheric optical phenomenon that consists of a bright spot to one or both sides of the Sun. Two sun dogs often flank the Sun within a 22° ...
* Stacker from
Stac Electronics Stac Electronics, originally incorporated as State of the Art Consulting and later shortened to Stac, Inc., was a technology company founded in 1983. It is known primarily for its Lempel–Ziv–Stac lossless compression algorithm and Stacker dis ...
* XtraDrive from
Integrated Information Technology 8x8 Inc. is an American provider of Voice over IP products. Its products include cloud-based voice, contact center, video, mobile and unified communications for businesses. Since 2018, 8x8 manages Jitsi. History The company was founded in 1987 ...
(IIT) * SuperStor and SuperStor Pro from AddStor * DoubleDisk and DoubleDisk Gold from Vertisoft Systems * JAM (JAM.SYS) from JAM Software, Kiev, Ukraine * DiskDoubler from
Salient Software DiskDoubler (DD) is a data compression utility for compressing files on the Apple Macintosh platform. Unlike most such programs, which compresses numerous files into a single archive for transmission, DiskDoubler is intended to compress single fil ...
* Double Density from Data Becker


Bundled software

The idea of bundling disk compression into new machines appealed to resellers and users. Resellers liked that they could claim more storage space; users liked that they did not have to configure the software. Bundled utilities included (in chronological order): * DR DOS 6.0 (1991), from Digital Research, included a custom version of AddStor's ''SuperStor''. * PalmDOS 1.0 (1992), from
Novell Novell, Inc. was an American software and services company headquartered in Provo, Utah, that existed from 1980 until 2014. Its most significant product was the multi-platform network operating system known as Novell NetWare. Under the lead ...
(after acquiring Digital Research), included a DPMS-enabled version of ''SuperStor''. * MS-DOS 6.0 (1993), from Microsoft, included '' DoubleSpace'', which was based in part on Vertisoft Systems' ''DoubleDisk''. MS-DOS 6.0 introduced the so-called DOS preload API, an undocumented challenge–response type interface which allowed the disk compression software (
DBLSPACE.BIN DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
) to be loaded automatically even before
CONFIG.SYS CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special ASCII text file that contains user-accessible setup or configuration directives evaluated by the operating system's DOS BIOS (typically residing ...
was processed. *
PC DOS 6.1 IBM PC DOS, an acronym for IBM Personal Computer Disk Operating System, is a discontinued disk operating system for IBM PC compatibles. It was manufactured and sold by IBM from the early 1980s into the 2000s. Developed by Microsoft, it was also s ...
(1993), from IBM, while the original release did not include a disk compressor, a custom version of ''SuperStor/DS'' (after acquiring AddStor) was included in a later release, also introducing the preload API in the PC DOS line. *
MS-DOS 6.2 MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few ope ...
(1993), from Microsoft, included an improved version of ''DoubleSpace''. * Novell DOS 7 (1993), from Novell, included a DPMS-enabled version of ''
Stacker 3.12 Stac Electronics, originally incorporated as State of the Art Consulting and later shortened to Stac, Inc., was a technology company founded in 1983. It is known primarily for its Lempel–Ziv–Stac lossless compression algorithm and Stacker di ...
'' (
STACKER.BIN A disk compression software utility increases the amount of information that can be stored on a hard disk drive of given size. Unlike a file compression utility, which compresses only specified files—and which requires the user to designate th ...
) from
Stac Electronics Stac Electronics, originally incorporated as State of the Art Consulting and later shortened to Stac, Inc., was a technology company founded in 1983. It is known primarily for its Lempel–Ziv–Stac lossless compression algorithm and Stacker dis ...
, which also supported compressed data exchange with remote
NetWare NetWare is a discontinued computer network operating system developed by Novell, Inc. It initially used cooperative multitasking to run various services on a personal computer, using the IPX network protocol. The original NetWare product in 19 ...
and PNW servers also running Stacker in order to avoid unnecessary recompression when copying files. It also introduced support for the DOS 6 preload API in order to maintain compatibility with Microsoft's DoubleSpace in multi-boot scenarios. A similar mechanism was used to load the optional single- or multi-user
SECURITY Security is protection from, or resilience against, potential harm (or other unwanted coercive change) caused by others, by restraining the freedom of others to act. Beneficiaries (technically referents) of security may be of persons and social ...
component. *
PTS-DOS Extended 6.4 PTS-DOS (aka PTS/DOS) is a disk operating system, a DOS clone, developed in Russia by PhysTechSoft and Paragon Technology Systems. History and versions PhysTechSoft was formed in 1991 in Moscow, Russia by graduates and members of MIPT, infor ...
(1994), from PhysTechSoft, included a disk compression component named ''Folder'' (
FOLDER.SYS PTS-DOS (aka PTS/DOS) is a disk operating system, a DOS clone, developed in Russia by PhysTechSoft and Paragon Technology Systems. History and versions PhysTechSoft was formed in 1991 in Moscow, Russia by graduates and members of MIPT, infor ...
) *
PC DOS 6.3 IBM PC DOS, an acronym for IBM Personal Computer Disk Operating System, is a discontinued disk operating system for IBM PC compatibles. It was manufactured and sold by IBM from the early 1980s into the 2000s. Developed by Microsoft, it was also ...
(1994), from IBM, included a version of ''SuperStor/DS''. * MS-DOS 6.22 (1994), from Microsoft, included '' DriveSpace'', which was ''DoubleSpace'' with a different compression algorithm (
DRVSPACE.BIN DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
), after MS-DOS 6.21 had to ship without any disk compression software at all for legal reasons. *
PC DOS 7.0 IBM PC DOS, an acronym for IBM Personal Computer Disk Operating System, is a discontinued disk operating system for IBM PC compatibles. It was manufactured and sold by IBM from the early 1980s into the 2000s. Developed by Microsoft, it was also ...
(1995), from IBM, included a DPMS-enabled version of ''
Stacker 4.02 Stac Electronics, originally incorporated as State of the Art Consulting and later shortened to Stac, Inc., was a technology company founded in 1983. It is known primarily for its Lempel–Ziv–Stac lossless compression algorithm and Stacker di ...
'' from Stac Electronics. * Windows 95 (1995), from Microsoft, included an updated version of ''
DriveSpace 2 DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
''. *
Windows 95 OSR2 Windows 95 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of operating systems. The first operating system in the 9x family, it is the successor to Windows 3.1x, and was released to manufacturin ...
(1996), from Microsoft, included a stripped-down version of ''
DriveSpace 3 DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
''. *
Windows 95 Plus! Microsoft Plus! is a discontinued commercial operating system enhancement product by Microsoft. The last edition is the Plus! SuperPack, which includes an assortment of screensavers, themes, and games, as well as multimedia applications. The Micr ...
(1996), from Microsoft, included the full version of ''DriveSpace 3''. * OpenDOS 7.01 (1997), from
Caldera A caldera ( ) is a large cauldron-like hollow that forms shortly after the emptying of a magma chamber in a volcano eruption. When large volumes of magma are erupted over a short time, structural support for the rock above the magma chamber is ...
(after acquiring Novell DOS), included a DPMS-enabled version of ''Stacker 3.12''. * DR-DOS 7.02 (1998), from Caldera, included a DPMS-enabled version of ''Stacker 3.12''. DR-DOS 7.02 also added support for Microsoft's ''DriveSpace''. *
PC DOS 2000 IBM PC DOS, an acronym for IBM Personal Computer Disk Operating System, is a discontinued disk operating system for IBM PC compatibles. It was manufactured and sold by IBM from the early 1980s into the 2000s. Developed by Microsoft, it was also ...
(1998), from IBM, included a DPMS-enabled version of ''Stacker 4.02''. * Windows 98 (1998), from Microsoft, included the full version of ''DriveSpace 3''. *
DR-DOS 7.03 DR-DOS (written as DR DOS, without a hyphen, in versions up to and including 6.0) is a disk operating system for IBM PC compatibles. Upon its introduction in 1988, it was the first DOS attempting to be compatible with IBM PC DOS and MS-D ...
(1999), from Caldera, included a DPMS-enabled version of ''Stacker 3.12''. * Windows 98 SE (1999), from Microsoft, included the full version of ''DriveSpace 3''. * PTS-DOS Pro 2000 (1999), from
Paragon Technology Software Paragon Software Group is a German software company that develops hard drive management software, low-level file system drivers and storage technologies. The Smart Handheld Device Division (SHDD) offers multilingual dictionaries, multilingual ha ...
, included a disk compression component named ''DATACOMP''.


Other solutions

* Squeeze, a resident DOS file compressor for Lotus 1-2-3 and Lotus Symphony files from Turner Hall Publishing * Squish Plus ROM from
Sundog Software A sun dog (or sundog) or mock sun, also called a parhelion (plural parhelia) in meteorology, is an atmospheric optical phenomenon that consists of a bright spot to one or both sides of the Sun. Two sun dogs often flank the Sun within a 22° ...
, but distributed exclusively through
Personalized Software ''Smartphone & Pocket PC'' was published every two months by Thaddeus Computing and covered Windows Mobile devices, software, and accessories. It included news, tips, articles, reviews, how-tos, and an enterprise section. Its headquarters was in Fa ...
(now
Thaddeus Computing ''Smartphone & Pocket PC'' was published every two months by Thaddeus Computing and covered Windows Mobile devices, software, and accessories. It included news, tips, articles, reviews, how-tos, and an enterprise section. Its headquarters was in Fa ...
), was a special ROM chip containing a custom version of Squish Plus with only 36 KB footprint adapted for the HP Portable Plus. *
Double Tools for DoubleSpace Double Tools for DoubleSpace is a software utility released in 1993 by the Menlo Park-based company Addstor, Inc. The utility functioned as an add-on to the disk compression software DoubleSpace, supplied with MS-DOS 6.0, adding a number of feat ...
from Addstor was an add-on product, enhancing the functionality of the DoubleSpace bundled with MS-DOS 6.0. * Multimedia Stacker from
Helix Software Helix Software Company was a New York City based software company founded in October 1986. The company developed software tools and utilities for DOS and Windows. In 1993, Helix licensed some of its memory management technology to Microsoft for ...
was a bundle of Stac's DPMS-enabled Stacker 4.01 combined with Helix Cloaking and utilities, utilizing Cloaking's built-in DPMS server to relocate and run in
protected mode In computing, protected mode, also called protected virtual address mode, is an operational mode of x86-compatible central processing units (CPUs). It allows system software to use features such as virtual memory, paging and safe multi-tasking d ...
. * THS filesystem (1994–1996 by Thomas Scheuermann), a compressed file system driver for Linux, which could read some CVFs. * DMSDOS (1996), a Linux kernel driver, to support the reading and writing of DoubleSpace, DriveSpace 2 & 3, as well as Stacker 3 & 4 volumes. While Windows XP, from Microsoft, included both a native support and a command named that compresses files on NTFS systems, that is not implemented as a separate "compressed drive" like those above.


Operation

Disk compression usually creates a single large file, which becomes a virtual hard drive. This is similar to how a single physical hard drive can be partitioned into multiple virtual drives. The compressed drive is accessed via a
device driver In computing, a device driver is a computer program that operates or controls a particular type of device that is attached to a computer or automaton. A driver provides a software interface to hardware devices, enabling operating systems and ot ...
.


Compressing existing drives

All drives would initially be empty. The utility to create a drive would usually offer to "compress a current drive". This meant the utility would: * Create an empty compressed drive, stored on the existing drive. * Transfer existing files on the old drive to the new compressed drive. * Increase the size of the new compressed drive as necessary to accommodate more files and allow empty space when done. * When all files were transferred, the drive letters would be swapped. Usually certain
system file A system file in computers is a critical computer file without which a computer system may not operate correctly. These files may come as part of the operating system, a third-party device driver or other sources. Microsoft Windows and MS-DOS mark ...
s would not be transferred. For example, OS swap files would remain only on the host drive.


Compressing the boot drive

A device driver had to be loaded to access the compressed drive. A compressed drive C: required changes to the
boot process In computing, booting is the process of starting a computer as initiated via hardware such as a button or by a software command. After it is switched on, a computer's central processing unit (CPU) has no software in its main memory, so so ...
as follows: * The
System BIOS In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the ...
loads sector 0 of the first physical hard drive (
Master Boot Record A master boot record (MBR) is a special type of boot sector at the very beginning of partitioned computer mass storage devices like fixed disks or removable drives intended for use with IBM PC-compatible systems and beyond. The concept of MBR ...
). * The partition sector loads sector 0 of the bootable partition ( Volume Boot Record). In this case, it's the host drive. * Host drive sector 0 loads (in the case of DOS) the DOS BIOS ( IO.SYS,
IBMBIO.COM IBMBIO.COM is a system file in many DOS operating systems. It contains the system initialization code and all built-in device drivers. It also loads the DOS kernel (IBMDOS.COM) and optional pre-loadable system components (like for disk compress ...
etc.) Depending on the version, only the first few sectors of the file or the whole file may be loaded into memory. In the first case, the loaded stub contains another loader loading the remainder of the file from disk. In the case of DR-DOS, the BIOS is packed and will decompress itself through an embedded decompression routine. * The DOS BIOS then loads the DOS kernel (
MSDOS.SYS MSDOS.SYS is a system file in MS-DOS and Windows 9x operating systems. In versions of MS-DOS from 1.1x through 6.22, the file comprises the MS-DOS kernel and is responsible for file access and program management. MSDOS.SYS is loaded by the DOS BI ...
,
IBMDOS.COM IBMDOS.COM is the filename of the DOS kernel. Loaded and initially invoked by the DOS BIOS in IBMBIO.COM during the boot process, it contains the hardware-independent parts of the operating system, including the embedded FAT12, FAT16 and ...
etc.) * If the DOS supports the preload API, the DOS BIOS attempts to load a preloadable compression driver (
DBLSPACE.BIN DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
,
DRVSPACE.BIN DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
or
STACKER.BIN A disk compression software utility increases the amount of information that can be stored on a hard disk drive of given size. Unlike a file compression utility, which compresses only specified files—and which requires the user to designate th ...
) from the root of the host drive and attempts to communicate with it through the DOS preload API. If the driver responds as expected, the DOS BIOS will keep the driver, if not, it will get discarded. If kept and configured accordingly, drive letters may get swapped, so that the compressed drive becomes C:. * The DOS BIOS starts
CONFIG.SYS CONFIG.SYS is the primary configuration file for the DOS and OS/2 operating systems. It is a special ASCII text file that contains user-accessible setup or configuration directives evaluated by the operating system's DOS BIOS (typically residing ...
processing by looking for the file in the root of the boot drive. In the case of DR-DOS, DCONFIG.SYS takes precedence over CONFIG.SYS, if present. * Compression drivers not loaded through the preload API may be loaded through
DEVICE A device is usually a constructed tool. Device may also refer to: Technology Computing * Device, a colloquial term encompassing desktops, laptops, tablets, smartphones, etc. * Device file, an interface of a device driver * Peripheral, any devi ...
statements. * Depending on configuration and if this hasn't happened already, drive letters may get swapped, so that the compressed drive becomes C:. * Processing continues from compressed drive.


Performance impact

On systems with slower hard drives, disk compression could actually increase system performance. This was accomplished two ways: * Once compressed, there was less data to be stored. * Disk accesses would often be batched together for efficiency. If the system had to wait frequently for hard drive access to complete ( I/O bound) converting the hard drive to compressed drives could speed up the system significantly. Compression and decompression of the data increases the CPU utilization. If the system was already CPU bound, disk compression decreases overall performance.


Drawbacks

Some common drawbacks to using disk compression: * Not all compression utilities would confirm the absence of errors in the
FAT file system File Allocation Table (FAT) is a file system developed for personal computers. Originally developed in 1977 for use on floppy disks, it was adapted for use on Hard disk drive, hard disks and other devices. It is often supported for compatibi ...
before compressing a disk in place. Some errors, such as
crosslinked file In computing, data recovery is a process of retrieving deleted, inaccessible, lost, corrupted, damaged, or formatted data from secondary storage, removable media or files, when the data stored in them cannot be accessed in a usual way. The da ...
s, could result in additional data loss during the transfer process. * The compressed drive is only visible if the device driver is loaded and the compressed drive is mounted. A boot disk, for example, might not contain the driver. (This was not normally an issue for solutions that came bundled with the operation systems unless booting foreign operating systems, as system utilities like SYS were modified to copy the compression drivers to boot disks by default, and the corresponding operation systems would also fall back to look for them on drives other than the boot disk if they couldn't be found there.) * Uninstallation was problematic if the expanded size of data on the compressed disk was larger than the normal disk capacity. * Users did not always realize that the large file on the host drive contained the compressed drive. While it was usually "hidden" by default, users who did find the large file curious or suspicious were able to delete it. This would normally result in data loss.


See also

*
RAM compression Virtual memory compression (also referred to as RAM compression and memory compression) is a memory management technique that utilizes data compression to reduce the size or number of paging requests to and from the auxiliary storage. In a virtua ...
* Data compression * Disk fragmentation * Executable compression * Self-extracting archive * cramfs * e2compr * SquashFS * MDFAT (DoubleSpace) *
BitFAT DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
(DoubleSpace) *
MDBPB DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the ...
(DoubleSpace)


Notes

In
crosslinked file In computing, data recovery is a process of retrieving deleted, inaccessible, lost, corrupted, damaged, or formatted data from secondary storage, removable media or files, when the data stored in them cannot be accessed in a usual way. The da ...
s, two files are storing at least part of their data in the same location. At least part of one file (the "bad" file) is always lost in this instance. However, if the "bad" file is copied and then deleted, part of the "good" file is deleted as well. Microsoft SCANDISK was created, in part, to perform a better check of the file system prior to compression than the MS-DOS CHKDSK utility.
For example, DOS associated up to four attributes with files: System, Hidden, Read-Only, and Archive. Files with the System or Hidden attributes are often not displayed by default. Files with the System or Read-Only attribute cannot be deleted with the ERASE or DEL DOS command. Most compression utilities would mark the drive file with at least one or more of the System, Hidden, and Read-Only attributes (many would use all three). However, files marked with such attributes can be viewed and deleted by other means. In addition, the user can also remove attributes.


References


External links

* * ff. * * {{cite journal , journal=
Smart Computing ''Smart Computing'' was a monthly computing and technology magazine published by Sandhills Publishing Company in Lincoln, Nebraska, USA. First released under the name ''PC Novice'', it was published from 1990 to 2013. Content The magazine featur ...
, url=http://www.smartcomputing.com/editorial/article.asp?article=articles/archive/l0504/9834/9834.asp&guid= , title=How To... Compress Hard Drives , date=April 1999 Compression Compression Utility software types Compression file systems