# US 5,706,472 A · Method for manipulating disk partitions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,706,472 A
- Document ID: US5706472A
- Status: Granted
- Kind: A
- Application number: 08/554,828
- Filed: 1995-11-07
- Granted: 1998-01-06
- Earliest claimed: 1995-02-23
- Assignees: PowerQuest Corporation
- Inventors: Eric J. Ruff; Robert S. Raymond; Scot Llewelyn
- Web page: https://patentgrep.com/patent/US5706472A

## CPC

- G06F 3/0601: {Interfaces specially adapted for storage systems}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0643: {Management of files}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0674: {Disk device}
- G06F 3/0676: {Magnetic disk device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method allows non-destructive manipulation of disk partitions defined by an IBM-compatible partition table. The disk partitions may be located on one or more disks attached to one or more disk drives. Each partition has an associated file system type. An interrupted manipulation may be resumed at a point in the progress of the manipulation near the point of interruption. Available manipulations include verifying the integrity of a partition's file system structures; displaying information about a partition; moving a partition to a different location; resizing a partition; and resizing the file system clusters. The resizing steps are illustrated with particular reference to file systems which use a file allocation table. The details required to perform these manipulations are attended to by an implementing program that requires only general direction from a user. Thus, the present invention provides a method that allows users who are unfamiliar with technical intricacies to easily manipulate IBM-compatible disk partitions, including extended partitions and logical partitions.

## Claims

### Claim 1

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
locking the selected partition prior to said modifying step.

### Claim 2

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
rebooting after said modifying step.

### Claim 3

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein said modifying step comprises the step of converting cluster numbers of the selected partition to corresponding cluster numbers of the modified partition.

### Claim 4

A computer-implemented method for manipulating disk partitions, comprising of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein said selecting step comprises selecting a logical partition from the partition table.

### Claim 5

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein said selecting step comprises selecting an extended partition from the partition table.

### Claim 6

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the root directory in the selected partition to produce a modified partition having a different root directory size than the selected partition without destroying user data.

### Claim 7

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
locking the selected partition prior to the modifying step.

### Claim 8

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
rebooting after the modifying step.

### Claim 9

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein the modifying step comprises the step of converting cluster numbers of the selected partition to corresponding cluster numbers of the modified partition.

### Claim 10

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein the selecting step comprises selecting a logical partition from the partition table.

### Claim 11

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein the selecting step comprises selecting an extended partition from the partition table.

### Claim 12

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the root directory in the selected partition to produce a modified partition having a different root directory size than the selected partition without destroying user data.

### Claim 13

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein said modifying step comprises the step of adjusting a file system structure.

### Claim 14 (depends on 13)

The method of claim 13, wherein said adjusting step comprises adjusting the size of a file allocation table.

### Claim 15

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein said modifying step comprises employing a data recovery method.

### Claim 16 (depends on 15)

The method of claim 15, wherein said data recovery method comprises the step of storing progress markers on the disk within the selected partition, the progress markers corresponding to incrementally increasing portions of said modifying step, thereby removing the need to repeat all of said modifying step if said modifying step is resumed after the disk drive's communication with the source of electric power is temporarily interrupted during said modifying step.

### Claim 17

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data, wherein the modifying step comprises the step of adjusting a file system structure.

### Claim 18 (depends on 17)

The storage medium of claim 17, wherein the adjusting step comprises adjusting the size of a file allocation table.

### Claim 19

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion; and
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to having a modified partition having a different cluster size than the selected partition without destroying user data, wherein the modifying step comprises employing a data recovery method.

### Claim 20 (depends on 19)

The storage medium of claim 19, wherein the data recovery method comprises the step of storing progress markers on the disk within the selected partition, the progress markers corresponding to incrementally increasing portions of the modifying step, thereby removing the need to repeat all of the modifying step if the modifying step is resumed after the disk drive's communication with the source of electric power is temporarily interrupted during the modifying step.

### Claim 21

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
verifying the integrity and consistency of internal file system data of the selected partition.

### Claim 22 (depends on 21)

The method of claim 21, wherein said verifying step precedes said modifying step.

### Claim 23 (depends on 22)

The method of claim 22, further comprising the step of reverifying the integrity and consistency of the internal file system data of the selected partition after said modifying step.

### Claim 24

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
verifying the integrity and consistency of internal file system data of the selected partition.

### Claim 25 (depends on 24)

The storage medium of claim 24, wherein the verifying step precedes the modifying step.

### Claim 26 (depends on 25)

The storage medium of claim 25, further comprising the step of reverifying the integrity and consistency of the internal file system data of the selected partition after the modifying step.

### Claim 27

A computer-implemented method for manipulating disk partitions, comprising the steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
resizing the selected partition such that the modified partition has a different number of disk sectors than the selected partition.

### Claim 28 (depends on 27)

The method of claim 27, wherein said resizing step comprises determining the maximum size of the modified partition.

### Claim 29 (depends on 27)

The method of claim 27, wherein said resizing step comprises moving the left edge of the selected partition.

### Claim 30 (depends on 27)

The method of claim 27, wherein said resizing step comprises moving the right edge of the selected partition.

### Claim 31 (depends on 27)

The method of claim 27, wherein said resizing step comprises determining the minimum size of the modified partition.

### Claim 32 (depends on 31)

The method of claim 31, wherein said resizing step further comprises identifying a safety factor for use in determining the minimum size of the modified partition.

### Claim 33

A computer-readable storage medium having a configuration that represents data and instructions which cause a processor to perform a method for manipulating disk partitions, the method comprising the computer-implemented steps of:
selecting an IBM-compatible partition located on a disk, the partition having a left edge and a right edge, the disk attached to a disk drive communicating with a source of electric power, the disk having at least one platter having a plurality of substantially concentric tracks, each track having a plurality of sectors arranged substantially in end-to-end fashion;
modifying the selected partition to produce a modified partition by resizing the clusters in the selected partition to produce a modified partition having a different cluster size than the selected partition without destroying user data; and
resizing the selected partition such that the modified partition has a different number of disk sectors than the selected partition.

### Claim 34 (depends on 33)

The storage medium of claim 33, wherein the resizing step comprises determining the maximum size of the modified partition.

### Claim 35 (depends on 33)

The storage medium of claim 33, wherein the resizing step comprises moving the left edge of the selected partition.

### Claim 36 (depends on 33)

The storage medium of claim 33, wherein the resizing step comprises moving the right edge of the selected partition.

### Claim 37 (depends on 33)

The storage medium of claim 33, wherein the resizing step comprises determining the minimum size of the modified partition.

### Claim 38 (depends on 37)

The storage medium of claim 37, wherein the resizing step further comprises identifying a safety factor for use in determining the minimum size of the modified partition.
