dection 5Storage Devices.docx

For example lets suppose that we have a hard disk

Info icon This preview shows pages 21–23. Sign up to view the full content.

For example, let's suppose that we have a hard disk drive installed in a Windows system. The cylinder that you see here represents the storage space available on that hard disk drive. In this example, I've taken this hard disk drive and I've created one single partition on it that encompasses all of the storage space. If this were the only hard disk drive installed on a PC system,then this partition would be represented at least under Windows, as C:\. Creating a single partition that encompasses an entire drive is not the only option that we have. In this example, I have the same hard disk drive but I've created two partitions on it, one here and one here. This allows me to divide the hard disk drive into two separate chunks, which allows me to do a variety of different things. If I'm using a single operating system like Windows, I can assign each partition a separate drive letter. For example, I could access the first partition as C:, and the second partition as D:. Even though I have one physical drive in the system, I would access each partition on that drive through a separate drive letter. Another option would be to create a file system on my first partition and access it as C:. Then, on the second partition, I would create a file system on it, and access it through a directory in the C file system. For example, I could create a directory named XSPACE on C:, and then mount this partition in this directory. As long as I'm on the C: drive over here, and I'm in a directory other than XSPACE, I'm accessing the storage available in this first partition. But as soon as a switch directories over into the XSPACE directory, I'm no longer working in this partition. I'm now working in the storage space encompassedby the second partition on the drive. All of your Linux systems address multiple partitions in exactly this way. Instead of having drive letters, a Linux system will mount your available storage space and all your partitions in a particular directory in the file system, just as we have done here on windows. Primary Partition 2:46-3:39
Image of page 21

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

On a storage device, you can have a maximum of 4 primary partitions. This limitation is imposed by the way the master boot record is structured, it isn't associated with an operating system. For example, let's suppose we have one single hard disk in the system, I can have a maximum of four partitions. If I had two hard disks in the system, then I could have eight primary partitions, four per device. Remember that four per disk rule, you don't have to use all four if you don't want to. You can have as few as one on a particular drive. In the past, the operating system had to be in the first primary partition. Now, the operating system files can be installed on any partition on any hard disk in the system with one caveat, and that is that the operating system boot files must still reside on a primary partition.
Image of page 22
Image of page 23
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Serial ATA

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern