1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FDISK 1M "Jul 2, 2009"
7 .SH NAME
8 fdisk \- create or modify fixed disk partition table
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBfdisk\fR [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIsize\fR] [\fB-P\fR \fIfill_patt\fR] [\fB-S\fR \fIgeom_file\fR]
13 [\fB-w\fR | \fB-r\fR | \fB-d\fR | \fB-n\fR | \fB-I\fR | \fB-B\fR | \fB-t\fR | \fB-T\fR | \fB-g\fR | \fB-G\fR | \fB-R\fR | \fB-E\fR]
14 [-\fB-F\fR \fIfdisk_file\fR] [ [\fB-v\fR] \fB-W\fR {\fIfdisk_file\fR | \(mi}]
15 [\fB-h\fR] [\fB-b\fR \fImasterboot\fR]
16 [\fB-A\fR \fIid\fR : \fIact\fR : \fIbhead\fR : \fIbsect\fR : \fIbcyl\fR : \fIehead\fR : \fIesect\fR :
17 \fIecyl\fR : \fIrsect\fR : \fInumsect\fR]
18 [\fB-D\fR \fIid\fR : \fIact\fR : \fIbhead:\fR \fIbsect\fR : \fIbcyl\fR : \fIehead:\fR \fIesect\fR :
19 \fIecyl\fR : \fIrsect\fR : \fInumsect\fR] \fIrdevice\fR
20 .fi
21
22 .SH DESCRIPTION
23 .sp
24 .LP
25 This command is used to do the following:
26 .RS +4
576
577 .sp
578 .ne 2
579 .na
580 \fB\fB-s\fR \fIsize\fR\fR
581 .ad
582 .sp .6
583 .RS 4n
584 Number of blocks to perform operation on (see \fB-o\fR).
585 .RE
586
587 .sp
588 .ne 2
589 .na
590 \fB\fB-S\fR \fIgeom_file\fR\fR
591 .ad
592 .sp .6
593 .RS 4n
594 Set the label geometry to the content of the \fIgeom_file\fR. The
595 \fIgeom_file\fR contains one specification line. Each line is delimited by a
596 new-line character (\fB\n\fR). If the first character of a line is an asterisk
597 (*), the line is treated as a comment. Each line is composed of entries that
598 are position-dependent, are separated by white space, and have the following
599 format:
600 .sp
601 .in +2
602 .nf
603 \fIpcyl ncyl acyl bcyl nheads nsectors sectsiz\fR
604 .fi
605 .in -2
606 .sp
607
608 where the entries have the following values:
609 .sp
610 .ne 2
611 .na
612 \fB\fIpcyl\fR\fR
613 .ad
614 .RS 12n
615 This is the number of physical cylinders for the drive.
616 .RE
|
1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
5 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FDISK 1M "Sep 10, 2013"
7 .SH NAME
8 fdisk \- create or modify fixed disk partition table
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBfdisk\fR [\fB-o\fR \fIoffset\fR] [\fB-s\fR \fIsize\fR] [\fB-P\fR \fIfill_patt\fR] [\fB-S\fR \fIgeom_file\fR]
13 [\fB-w\fR | \fB-r\fR | \fB-d\fR | \fB-n\fR | \fB-I\fR | \fB-B\fR | \fB-t\fR | \fB-T\fR | \fB-g\fR | \fB-G\fR | \fB-R\fR | \fB-E\fR]
14 [-\fB-F\fR \fIfdisk_file\fR] [ [\fB-v\fR] \fB-W\fR {\fIfdisk_file\fR | \(mi}]
15 [\fB-h\fR] [\fB-b\fR \fImasterboot\fR]
16 [\fB-A\fR \fIid\fR : \fIact\fR : \fIbhead\fR : \fIbsect\fR : \fIbcyl\fR : \fIehead\fR : \fIesect\fR :
17 \fIecyl\fR : \fIrsect\fR : \fInumsect\fR]
18 [\fB-D\fR \fIid\fR : \fIact\fR : \fIbhead:\fR \fIbsect\fR : \fIbcyl\fR : \fIehead:\fR \fIesect\fR :
19 \fIecyl\fR : \fIrsect\fR : \fInumsect\fR] \fIrdevice\fR
20 .fi
21
22 .SH DESCRIPTION
23 .sp
24 .LP
25 This command is used to do the following:
26 .RS +4
576
577 .sp
578 .ne 2
579 .na
580 \fB\fB-s\fR \fIsize\fR\fR
581 .ad
582 .sp .6
583 .RS 4n
584 Number of blocks to perform operation on (see \fB-o\fR).
585 .RE
586
587 .sp
588 .ne 2
589 .na
590 \fB\fB-S\fR \fIgeom_file\fR\fR
591 .ad
592 .sp .6
593 .RS 4n
594 Set the label geometry to the content of the \fIgeom_file\fR. The
595 \fIgeom_file\fR contains one specification line. Each line is delimited by a
596 new-line character (\fB\en\fR). If the first character of a line is an asterisk
597 (*), the line is treated as a comment. Each line is composed of entries that
598 are position-dependent, are separated by white space, and have the following
599 format:
600 .sp
601 .in +2
602 .nf
603 \fIpcyl ncyl acyl bcyl nheads nsectors sectsiz\fR
604 .fi
605 .in -2
606 .sp
607
608 where the entries have the following values:
609 .sp
610 .ne 2
611 .na
612 \fB\fIpcyl\fR\fR
613 .ad
614 .RS 12n
615 This is the number of physical cylinders for the drive.
616 .RE
|