Partition (Computing)

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 that jumps to the second hard disk).

UNIX

For UNIX-based and UNIX-like operating systems, fancy partitioning creates separate partitions for /, /boot, /home, /tmp, /usr, /var, /opt and swap. This ensures that if one file system gets corrupted, the rest of the data (the other file systems) stay intact, minimizing data loss. This has the disadvantage of subdividing the drive into small, fixed-size partitions, so, for instance, a user can fill up their /home partition and run out of useable hard drive space, even though other partitions still have plenty of free space. A good implementation requires the user to predict how much space each partition will need; sometimes a difficult task. Typical desktop systems use the other convention; a "/" (root) partition containing the entire filesystem and a separate swap partition.

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. When it is, systems with a dual boot configuration can make several OSes use the same swap partition and therefore save disk space.
  • 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. 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. The "My Documents" folder, a "special folder" home directory, can be mounted to take up the entire free space on a separate partition.

List of partition utilities

See also

External links

 

<< PreviousWord BrowserNext >>
neturei karta
westport
discount
cash
rock ridge
song zheyuan
hermann huppen
net present value
networking
hierarchical file system
elevator music
ram disk
jeet kune do
asian
dragon (magazine)
simd
altivec
78 bc
79 bc
mmx
streaming simd extensions
port arthur
hercules emulator
corine
eldis
logical formatting
supernatural
hard disk platter
ashkelon
gaza
master boot record
history of operating systems
hadean
descriptive linguistics
physical formatting
banded iron formation
ipotane
sector
douglas fairbanks, sr.
schenectady, new york
schenectady county, new york
list of linguists
history of linguistics
theoretical linguistics