Files are stored on disks.
On any computer system, files are saved on a disks. There are two kinds of disks: floppy disks (which are small, portable, and easily exchanged), and hard disks (which are larger and not as easily detached from the computer).
On a standalone PC or Macintosh, you can visualize disks easily. On DOS, your prompt tells you what disk you’re currently in (e.g., C:\>); on a Macintosh, you see each disk as a separate icon at the right edge of your desktop. On a PC or Macintosh, you are always aware of what disk you’re currently working in. UNIX, on the other hand, tries to make the distinction between hard disks seamless. So on UNIX, it’s sometimes a little harder to keep track of what disk you’re currently working in.
Without the computer, a hard disk is just a big hunk of metal. It needs to be made accessible to the computer’s operating system before it can be used for storing files. When a hard disk is made accessible on the computer, we say that the disk is “mounted.” All this means is that you can now read and write files from that big hunk of metal via the magic of the operating system.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access