The Essence of Software by Jackson Daniel
Author:Jackson, Daniel [Jackson, Daniel]
Language: eng
Format: epub
Publisher: Princeton University Press
Published: 2021-11-16T00:00:00+00:00
Chapter 2: Discovering Concepts
â â 15 .â The Unix origins of Dropboxâs folder concept. Dropbox adopted the concept of folder from the Unix operating system, in which a folder is called a directory. This design has many elegant aspects. In particular, since the names of files and directories are not treated as metadata but are simply contained within directory entries, there is no need for any additional structure in the file system for maintaining this information; directories can be represented with data blocks just like files, albeit with a special interpretation.
Allowing a file or directory to have more than one parent, a feature of Dropbox adopted from Unix (and essential for expressing sharing), is powerful but even in the single-user Unix setting brings some nasty complications. Deletion of a file does not simply eliminate it, but rather deletes a directory entryâand the file might still be linked through another directory. Consequently, reclaiming storage requires a form of garbage collection to identify inaccessible files.
From the userâs perspective, the possibility of multiple parents produces at least three other surprises. First, novice Unix users, expecting a folder to âcontainâ other files and folders (rather than just containing named links), look in vain to find an option for the directory-listing command that tells you how big a directory isâthat is, how much disk space it occupies. Such an option does not exist, arguably for good reason (since a file can have two parent folders, so itâs not clear how the fileâs space consumption should be assigned). Instead you need to use a different command (called du, for âdisk usageâ) which, in classic Unix style, will generate by default a report of sizes of all reachable directories without specifying the unit of measurement! Needless to say, only computer scientists would tolerate such unusable software, so when the Unix file system was adopted by Apple for the Macintosh, this was all hidden away, and the Finder displays folder sizes as expected.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7732)
Robo-Advisor with Python by Aki Ranin(7628)
Offensive Shellcode from Scratch by Rishalin Pillay(6108)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5027)
Ego Is the Enemy by Ryan Holiday(4958)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
Python for ArcGIS Pro by Silas Toms Bill Parker(4185)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3891)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3627)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3285)
Speed Up Your Python with Rust by Maxwell Flitton(3231)
Liar's Poker by Michael Lewis(3227)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3172)
Agile Security Operations by Hinne Hettema(3124)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3109)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2983)
