Partition_(computing) Partition_(computing)

Partition (computing) - Definition and Overview

Related Words: Calculating, Collating, Computational, Enumerative, Reporting, Scanning, Sorting, Statistical

In computer engineering, hard disk drive partitioning is the creation of logical divisions upon a hard disk that allows one to apply operating system-specific logical formatting.

Disk partitioning is a simple technique which can be viewed as a precursor of Logical volume management.

More than one operating system can be executed or installed in a single computer, without partitioning (LiveCDs, keydrives or a second hard disk unit with a bootable media -i.e. a floppy- that jumps to the second hard disk).

For UNIX-based and UNIX-like operating systems, fancy partitioning creates separated partitions for /, /boot, /home, /tmp, /usr, /var, /opt and swap, instead of a "/" (root) partition, plus a swap partition. This ensures that if one file system gets corrupted, you still have the rest of the data intact to (hopefully) reconstruct your system with. With Windows the standard partitioning scheme is the core OS on the C: drive, with the rest of the drives allocated to applications and data.

Contents

Drive partitioning on the IBM PC

For a detailed discussion of how partitioning is implemented in the IBM PC architecture, see Partition (IBM PC). The rest of this article will concentrate on the practical aspects of PC hard drive partitioning.

Partitioning is done for several reasons:

  • Some filesystems (e.g. old versions of the Microsoft FAT filesystem) have size limits smaller than a modern disk drive.
  • If one partition becomes corrupt, you can attempt to salvage data onto another partition. This is similar to RAID, except on the same disk.
  • On some OSes, e.g., Linux, the swap file is normally a partition of its own.
  • To prevent overgrown log or other files from making the whole computer unusable, they are put on their own partition. Then only one partition will run out of space.
  • Often, two operating systems cannot coexist on the same partition, or use different "native" disk formats. The drive is partitioned into different logical disks for different OSes.

Numerous partitioning schemes have appeared during the years, for almost all computer architectures in existence. Many of them are relatively transparent and allow convenient manipulation of the disk partitions; some however are obsolete in design and are accompanied by numerous quirks.

The partition table, as used in the IBM PC architecture, was first devised in 1982, when hard drives were coming into use. It is a simple table, consisting of up to 4 records, each of which indicating where the partition starts, where it ends and what its type is. In addition, an "active" flag is provided that tells the Master Boot Record from which partition to boot.

This scheme is widely considered obsolescent, because it allows for only 4 partitions (later, that is in 1987 with DOS 3.3, an expansion of this format that provides for "container" logical partitions that contain up to 24 secondary partitions inside themselves eased this problem somewhat, though by no means solved it), and because it has certain compatibility problems with hard drives bigger than 8 gigabytes in size. As the IBM PC architecture is extremely common, the partition tables are likely to stay for a while. However, a recent project of Intel and Microsoft called the Extensible Firmware Initiative (EFI) has a component called GUID Partition Table (GPT) that will, perhaps, provide a much better solution from the problem on future generations of PCs.

Legacy partition tables are complicated to administer, and have numerous quirks. The reader that is interested in modifying his partition table is strongly advised first to study these quirks, and only then modify the drive. In addition, it is strongly recommended to do the modifications only using properly tested partition utilities, such as GNU Parted or Symantec's PartitionMagic.

List of partition utilities

See also

External links

Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.