



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An overview of hard drive partitions and file systems, including the concept of partitions, primary and extended partitions, fat16, fat32, and ntfs. Learn about the role of partitions in organizing data on a hard drive, the differences between primary and extended partitions, and the features and limitations of various file systems. Understand the importance of clusters and cluster sizes in managing file storage, and explore the implications of cluster waste.
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
Partitions and File Systems November 9 (Day); November 8 (Night) Hard Drive Partitions: o It is too difficult to store data on the basis of those cylinders, heads, and sectors that we talked about during the last lecture (p. 203).
drive (p. 203). o The concept of partitions was originally developed to allow multiple operating systems, each with different file systems, to co-exist on a single hard drive. o Today, partitions are used to divide a single drive into multiple volumes used by the same operating system.
place on the hard drive that stores all partition information. It consists of the following information (p. 204):
operating system in finding the correct partition.
information such as the beginning and ending sector on the hard drive and how many sectors are used by the partition. Types of Partitions: o There are two types of partitions: primary and extended.
The primary partition is bootable. The operating system is installed on the primary partition. Windows assigns the drive letter C: to the primary partition. Generally, there can only be one primary partition.
An extended partition is not bootable. Extended partitions can not be assigned drive letters directly.
assigned drive letters. An extended partition can be broken into 23 logical drives (D: - Z:). Each appearing as separate drive letter to the operating system. o Partitioning:
partition on the hard drive before you install an operating system (p. 216).
is a small command-line based program that can be found on most Windows boot disk (p. 216). File Systems:
which file. It also allows you to create folders so that you can organize your files. In short, the file system helps you organize your data (p. 205). o Clusters: Rather than storing information about each sector on a hard drive, the file system stores information about groups of sectors known as clusters. Cluster Size = # of Sectors * 512 bytes OR Cluster Size = # of Sectors * .5 KB The smallest space that one file can occupy is one cluster. For example, if a file is even one bit larger than the size of one cluster, the file will take up two clusters. o Types of File Systems:
about clusters: FAT Directory, FAT Table. The FAT Directory stores information about each file. The FAT Table stores information about each cluster on the disk.
Remember that the FAT table is loaded into memory at bootup. If we dedicated 128 bytes, for instance, to each cluster on our hard drive, the FAT table will become very large and overuse our memory. If we are limited in the number of clusters that we can use in our FAT table, how might we increase the capacity of our hard drive? We increase the size of clusters, so that more data is stored for each entry in the FAT table. Cluster Waste: Wasted space is the problem of increasing the size of your clusters. To demonstrate this point, pretend that you have a file that is 10 KB in size. o If you have a cluster size of 32 KB, then you will waste 22 KB of space to store this file. o If you have a cluster size of 16 KB, then you will waste only 6 KB of space to store this file. Because some files waste a little bit of a cluster and some files waste a lot of a cluster, each file is assumed to waste one-half of a cluster. Here’s the calculation: Cluster Waste = # of Files * (Size of cluster * .5) Pretend that you have 5000 files on your hard drive and are using cluster sizes of 16 KB. Cluster Waste = 5000 * (16 KB * .5) = 5000 * (8 KB) = 40,000 KB
Pretend that you have 5000 files on your hard drive and are using cluster sizes of 32 KB. Cluster Waste = 5000 * (32 KB * .5) = 5000 * (16 KB) = 80,000 KB