Misplaced Pages

DriveSpace

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
#190809

36-423: 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 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

72-488: A CONFIG.SYS device driver named SMARTDRV.SYS . Versions 4.0 and later were loaded through an executable file named SMARTDRV.EXE , which could be run at user's discretion or at boot time via AUTOEXEC.BAT . However, SMARTDRV.EXE also includes a double-buffering driver that should be loaded through CONFIG.SYS . Version 4.0 also introduced 32-bit disk access and could reduce its footprint in conventional memory (the first 640 kilobytes of memory which

108-402: A device driver . 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: Usually certain system files would not be transferred. For example, OS swap files would remain only on the host drive. A device driver had to be loaded to access the compressed drive. A compressed drive C: required changes to

144-406: A DoubleSpace add-on program called SpaceManager, which contained a number of usability enhancements. It also offered improved compression ratios. Other products, like later versions of Stacker from Stac Electronics, were capable of converting existing DoubleSpace compressed drives into their own format. MS-DOS 6.2 featured a new and improved version of DoubleSpace. The ability to remove DoubleSpace

180-498: A bug that could lead to data corruption . The bug occurred when writing files to heavily fragmented disks and was demonstrated by a program called BUST.EXE . The company sold a program called DoubleCheck that could be used to check for the fragmentation condition that could lead to the error. Microsoft's position was that the error only occurred under unlikely conditions, but fixed the problem in MS-DOS 6.2 . The fragmentation condition

216-425: A compressed drive was stored in a single file implied the possibility of a user accidentally deleting all of their data by deleting just that file. This could happen if the user inadvertently got access to the host drive, containing this file. The host drive was usually mapped to the letter H: by the compression driver. However, if the compression driver had failed to load the user might see it as drive C:. Turning off

252-453: A compressed volume with a remote computer. Double Tools also had the capability to put a special utility on compressed floppy disks that made it possible to access the compressed data even on computers that didn't have DoubleSpace (or Double Tools). Vertisoft, the company who developed the DoubleDisk program that Microsoft subsequently licensed and turned into DoubleSpace, developed and sold

288-401: A native support and a command named compact that compresses files on NTFS systems, that is not implemented as a separate "compressed drive" like those above. 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

324-567: Is also supported. This feature was removed in Windows XP and later. 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 C:). The software would compress the entire partition contents into one large file in the root directory . On booting the system, the driver would allocate this large file as drive C:, enabling files to be accessed as normal. Microsoft's decision to add disk compression to MS-DOS 6.0

360-485: 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. One could upgrade from DriveSpace 2 to DriveSpace 3, but there

396-458: The boot process as follows: On systems with slower hard drives, disk compression could actually increase system performance. This was accomplished two ways: 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

SECTION 10

#1732852533191

432-458: The operating system (being loaded through the undocumented pre-load API even before the CONFIG.SYS file). Microsoft had originally sought to license the technology from Stac Electronics , which had a similar product called Stacker, but these negotiations had failed. Microsoft was later successfully sued for patent infringement by Stac Electronics for violating some of its compression patents. During

468-522: 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 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

504-491: 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. Some of the initial disk compression solutions were hardware-assisted and utilized add-on compressor/decompressor coprocessor cards in addition to a software driver. Known solutions include: With increasing PC processor power software-only solutions began to reach or even outperform

540-477: The background, it was possible to let DoubleTools replace the low-level DoubleSpace driver (DBLSPACE.BIN) with one supplied by DoubleTools. Replacing the driver also enabled other enhanced functionality of the product, such as the use of 32-bit code paths when it detected an Intel 80386 or higher CPU , caching capabilities and – in addition to its supporting the use of the Upper Memory Area – also permitted

576-456: The command prompt to reappear. 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, the ability to have compressed removable media auto- mounted as they were used, as well as support for background defragmentation of DoubleSpace compressed drives. To defragment files in

612-498: The computer before DoubleSpace could finish updating its data structures could also result in data loss. This problem was compounded by Microsoft making write caching enabled by default in the SMARTDRV disk cache software that came with MS-DOS 6.0. Because of this change, after exiting an application, the MS-DOS prompt might appear before all data had been written to the disk. However, due to

648-641: The court case Stac Electronics claimed that Microsoft had refused to pay any money when it attempted to license Stacker, offering only the possibility for Stac Electronics to develop enhancement products. A few computer programs, particularly games, were incompatible with DoubleSpace because they effectively bypassed the DoubleSpace driver. DoubleSpace also consumed a significant amount of conventional memory , making it difficult to run memory-intensive programs. Shortly after its release, reports of data loss emerged. A company called Blossom Software claimed to have found

684-463: The early 1990s, when microcomputer hard disks were still relatively small (20 to 80 megabytes ). 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

720-431: The fragmentation issue discussed above. 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. MS-DOS 6.22 contained a reimplemented version of the disk compression software, but this time released under

756-410: 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

SECTION 20

#1732852533191

792-400: The lack of a controlled shutdown procedure (as found in modern operating systems), many users saw the appearance of the MS-DOS prompt as an indication that it was safe to switch off the computer, which was typically the case prior to MS-DOS 6.0. Microsoft addressed this issue in MS-DOS 6.2 where the write caching was still enabled by default, but where the cache would be flushed before allowing

828-435: 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. 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,

864-476: The only DriveSpace operation supported beside that was deleting and reallocating compressed drives. It is possible to restore full function of DriveSpace 3 (unofficially) in Windows Me, copying the executable file from a Windows 98 installation and using it to replace the executable included with Windows Me. After that, one could compress new drives as they could do on Windows 98. DMSDOS , a Linux kernel driver,

900-511: 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. 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): While Windows XP , from Microsoft, included both

936-459: The system was already CPU bound , disk compression decreases overall performance. Some common drawbacks to using disk compression: SMARTDRV SmartDrive (or SMARTDRV ) is a disk caching program shipped with MS-DOS versions 4.01 through 6.22 and Windows 3.0 through Windows 3.11 . It improves data transfer rates by storing frequently accessed data in random-access memory (RAM). Early versions of SmartDrive were loaded through

972-566: The undocumented pre-load API in order to provide seamless support for DoubleSpace as well. Since the DR-DOS drivers were DPMS -enabled whereas the MS-DOS ones were not, this did not offer any advantages for DR-DOS users, but allowed easier coexistence or migration due to the possibility of shared use of already existing compressed volumes in multi-boot scenarios. DR-DOS 7.02 and higher also added support for DriveSpace in 1998. Disk compression A disk compression software utility increases

1008-417: The use of Extended Memory for some of its buffers (reducing the driver's total footprint in conventional and upper memory, albeit at the cost of somewhat reduced speed). Another function was the ability to split a compressed volume over multiple floppy disks, being able to see the entire volume with only the first disk inserted (and being prompted to change discs as necessary). It was also possible to share

1044-410: 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. A fix was made to

1080-655: Was also installed. DriveSpace could also not be used with FAT32 , making it of little use on PCs with large hard drives. Windows 98 shipped with DriveSpace 3 as part of the operating system. Functionality was the same as in Windows 95 with Plus!. Because of the removal of real mode support, FAT32 going mainstream 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

1116-403: Was available. Other potential causes of data loss included the corruption of DoubleSpace's memory areas by other programs, DoubleSpace's memory areas were not protected , because MS-DOS ran in real mode . Microsoft attempted to remedy this in the MS-DOS 6.2 version of DoubleSpace (via a feature called DoubleGuard that would check for such corruption). The fact that the compressed contents of

DriveSpace - Misplaced Pages Continue

1152-587: Was critical to DOS ) by running in upper memory area (the 384 kilobytes of memory located beyond the conventional memory). A cloaked variant of SmartDrive utilizing the Helix Cloaking API was available from Helix Software . On Intel 80386 processors, it could run in protected mode to reduce its footprint in conventional memory. Microsoft suggests SmartDrive to be used when installing Windows 2000 or Windows XP from MS-DOS to reduce installation time. SmartDrive has been superseded by VCache, which

1188-432: Was developed in the late 1990s to support both the reading and writing of DoubleSpace/DriveSpace disks. However, reading and especially writing to compressed filesystems is reliable only in specific versions of the 2.0, 2.1 or 2.2 versions of the kernel. While DR-DOS supported its own disk compression technology (originally based on SuperStor , later on Stacker ), Novell DOS 7 in 1993 and higher introduced an emulation of

1224-512: Was influenced by the fact that the competing DR DOS had earlier started to include disk compression software since version 6.0 in 1991. Instead of developing its own product from scratch, Microsoft licensed the technology for the DoubleDisk product developed by Vertisoft and adapted it to become DoubleSpace. For instance, the loading of the driver controlling the compression/decompression ( DBLSPACE.BIN ) became more deeply integrated into

1260-477: Was no downgrade path back to DriveSpace 2. 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 that was available. DriveSpace 3 also shipped with Windows 95 OSR2 but many features were disabled unless Plus!

1296-437: Was related to the way DoubleSpace compresses individual clusters (of size, say, 8 K), and fits them on the disk, occupying fewer sectors (size 512 bytes) than the fixed number required without DoubleSpace (16 sectors in this example). This created the possibility of a kind of internal fragmentation issue, where DoubleSpace would be unable to find enough consecutive sectors for storing a compressed cluster even if plenty of space

#190809