MECH 2301 Lecture Notes - Lecture 36: Sequential Access, Random Access

95 views2 pages
MECH 2301 Lecture 36 Notes
Introduction
Tape Allocation
The blocks in a linked free space list are stored in the order in which files are deleted.
Since deleted files are placed at the end of the list, the data on those blocks will be
recoverable until the blocks are needed for reuse.
Note that the data in deleted files is not truly deleted from disk unless special effort is
made to clear or scramble all the bits in the blocks used by the file.
This is a potential security risk.
Special software, called shredder software, is available for the purpose of truly deleting
files from disk in a way that they cannot be recovered.
New systems are starting to offer this feature as secure delete.
Tape allocation is simpler than disk allocation.
The size of a block can be varied to fit the logical requirements of the file.
It is usually not practical to reallocate space in the middle of a tape, so files that grow
must be rewritten.
If necessary, the tape can be compacted
It is usually easier to do so by copying the tape to a new tape.
Tape blocks can be linked, but, in general, files are stored contiguously whenever
possible.
Tape is convenient for sequential access, but not practical for random access.
Random access files that are stored on tape are normally moved to disk as a whole
before use.
CD, DVD, and Flash Drive Allocation
The file system used for various optical drives and a flash drive is similar to those found
on hard disks.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents