Secondary storage

(Here's what I wrote on the chalkboard or overhead display as we discussed secondary storage:)

"File" -- a bunch of data in order

As opposed to main memory (primary storage), it is:

the idea of "removeable" storage

Why not use only secondary storage?

- MUCH slower.

Disk organization:

Hierarchical filesystem:

"path name":

"absolute path name": /u/ajr/104/checkq5
"relative path name": checkq5 (if we're starting from /u/ajr/104)
If we're starting from /u/ajr, we could say 104/checkq5

"current directory": where we're starting from.

cd dirname
change the current directory to "dirname", or your home directory if you just type "cd"
mkdir
make a directory
rmdir
removes a directory
rm
removes a plain file
ls
lists files in a directory

Tapes:

Big disadvantage: "sequential"


[list of topics covered]
[main course page]