ArticleslgStudy

computer science

DiskDoubler

DiskDoubler is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DiskDoubler rather than just read about it. In short: DiskDoubler (DD) is a disk compression utility for classic Mac OS. Unlike a file compression utility that compresses files, directories and directory trees into a single archive file via user interaction, DiskDoubler compresses and decompresses files automatically, without user interaction.

Key takeaways

  • DiskDoubler belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DiskDoubler to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DiskDoubler from memory before moving on to harder problems.

Reference excerpt

DiskDoubler (DD) is a disk compression utility for classic Mac OS. Unlike a file compression utility that compresses files, directories and directory trees into a single archive file via user interaction, DiskDoubler compresses and decompresses files automatically, without user interaction. When an application reads a compressed file, DiskDoubler decompresses the data before providing it to the application. A later addition, AutoDoubler, adds background compression, compressing uncompressed files while the computer is otherwise idle. DiskDoubler was created by Terry Morse and Lloyd Chambers, fellow employees at a small software firm that went out of business in 1989. Chambers had already released a version of the Unix Compress utility on the Mac as MacCompress. While working on another "real" project, Chambers wrote DiskDoubler in his spare time. When demonstrating their new product at a local Mac store, they noticed that it was DiskDoubler that got all of the attention. It was first shown publicly at the San Francisco MacWorld Expo in April 1990 (normally in January, but delayed that year) and by the end of the show had sold 500 copies. By the summer they were selling 1000 copies a month. Realizing they needed real marketing muscle, they approached Symantec, who agreed to include it in their Symantec Utilities for Macintosh (SUM) package for a pittance. Unimpressed by the offer, they instead asked Guy Kawasaki to front them a $25,000 development loan, raised a similar amount on their own, and formed Salient Software. After four months sales were over $50,000 a month. When System 7 shipped in June 1991 sales took off, as the new system was rather hungry for drive space. The company was eventually sold to Fifth Generation Systems in 1992. They also repackaged it in a suite as SuperDoubler 4.0, including AutoDoubler, DiskDoubler, and a file-copy speedup known as CopyDoubler. For some time, DiskDoubler was the second-best selling product on the Mac, second only to After Dark, the popular screen saver. Fifth Generation was later sold, somewhat ironically, to Symantec, who re-released it as a fat binary as Norton DiskDoubler Pro 1.1. Symantec "sat" on the product and it slowly disappeared over the next year. DiskDoubler concentrated on speed, originally supporting only a single variety of the LZ78 compression algorithm used in Compress/MacCompress to avoid having to try different settings. Nevertheless, the compression results were quite reasonable, notably on text files. Better yet, DiskDoubler was extremely fast, generally twice as fast as StuffIt, and 50% faster than Compact Pro, the two main archivers in use on the Mac in the 1990s. DiskDoubler also had the capability of decompressing StuffIt and PackIt files, which it did much faster than those programs could. Over the years DiskDoubler eventually ended up with four different algorithms, typically using the fastest compressor, DD1, for a first pass, and then running the most effective, DD3+, when the machine was idle. DiD3+ provided the highest compression of any Mac-based compression software, using knowledge of specific file types to improve over a "generic" LZW scheme. Users typically interacted with DiskDoubler via an additional menu placed in the Macintosh Finder. Selecting a file, or group of them, the user selects Compress from the DD menu. The file in question is quickly compressed and replaced by a similar icon stamped with a small "DD" tag to indicate it was compressed. The original Classic Mac OS did not include any sort of composite icon support, so DiskDoubler had to copy and modify every icon it found and then hand those modified icons back to the Finder with a new file type. When a file was compressed, its (hidden) file type flag was changed to the one DiskDoubler "made up", making the Finder display the modified icon. AutoDoubler (AD) was a small software daemon for which speed was the main concern, since AD was intended to be used "invisibly". For this reason it first used the AD1/DD1 "fastest" method to compress as many files as possible as quickly as it could, and then when that was complete it would go back and re-compress with DD3+ if the machine was still idle. DD/AD was so invisible that it would compress anything outside the System folder, including applications and various resources. The main reason for better performance was that compressing a file and writing it was faster than writing the original file as the bottleneck was to be found in hard disk I/O times. The same is correct for reading and decompressing files. The product also included a freeware (but closed source) decompressor known as DDExpand. Since DiskDoubler was intended to compress "in place" and generally be invisible, most users set up DiskDoubler to decompress automatically when copying files to other media so that it would open fine on other people's machines. Additionally, since the program decompressed files as they were opened, the simple action of archiving files using another utility like StuffIt automatically decompressed the files before they were inserted into the new archive. For these reasons the DiskDoubler format was rarely seen "in the wild", and DDExpand was rarely needed. DiskDoubler did include an option for this, however, which would combine several files into one archive. These could sometimes be found in software libraries, but was generally frowned upon. DiskDoubler created a market for similar products. The first attempt to produce a similar product resulted in SuperDisk!, which, when released, was faster than DiskDoubler but offered less compression. SuperDisk! also offered "on the fly" compression, which DiskDoubler had not added at that point. An updated version of DiskDoubler fought back with a new compression scheme that ran entirely in the 256-byte cache of the 68020, which greatly improved performance. AutoDoubler was also included as a new feature. Now Software also introduced a product in this space called Now Compress. Aladdin Software eventually brought out their own solution as well, as StuffIt SpaceSaver. All of these products had a following during the era of small hard drives. Eventually, a combination of shrinking Mac marketshare, changes to the underlying filesystem and ever-increasing drive space killed off this product niche. With the introduction of Mac OS X Snow Leopard, Apple introduced a similar technology known as Transparent Compression into HFS Plus.

See also Disk compression

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with DiskDoubler

Start with the simplest possible case. Write down what DiskDoubler claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DiskDoubler before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DiskDoubler ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DiskDoubler

In research
DiskDoubler appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DiskDoubler in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DiskDoubler is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1990 software, Classic Mac OS-only software, Data compression software, so understanding it makes those chapters shorter.
In everyday life
Look for DiskDoubler outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DiskDoubler” →

How to study DiskDoubler in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DiskDoubler means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DiskDoubler out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DiskDoubler in simple terms?

DiskDoubler (DD) is a disk compression utility for classic Mac OS. Unlike a file compression utility that compresses files, directories and directory trees into a single archive file via user interaction, DiskDoubler compresses and decompresses files automatically, without user interaction.

Why does DiskDoubler matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DiskDoubler?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DiskDoubler.

Tags

  • 1990 software
  • Classic Mac OS-only software
  • Data compression software
  • Discontinued software

Keep exploring