]>
Commit | Line | Data |
---|---|---|
5545a732 JR |
1 | --- util-linux-2.13-pre7/partx/Makefile.am.kzak 2007-01-11 16:30:39.000000000 +0100 |
2 | +++ util-linux-2.13-pre7/partx/Makefile.am 2007-01-11 16:30:30.000000000 +0100 | |
3 | @@ -4,5 +4,6 @@ | |
4 | ||
5 | usrsbinexec_PROGRAMS = addpart delpart partx | |
6 | partx_SOURCES = bsd.c dos.c partx.c solaris.c unixware.c gpt.c crc32.c | |
7 | +man_MANS = addpart.8 delpart.8 partx.8 | |
8 | ||
9 | endif | |
10 | --- /dev/null 2007-01-05 11:17:33.335119060 +0100 | |
11 | +++ util-linux-2.13-pre7/partx/delpart.8 2007-01-11 16:28:37.000000000 +0100 | |
12 | @@ -0,0 +1,30 @@ | |
13 | +.\" delpart.8 -- | |
14 | +.\" Copyright 2007 Karel Zak <kzak@redhat.com> | |
15 | +.\" Copyright 2007 Red Hat, Inc. | |
16 | +.\" May be distributed under the GNU General Public License | |
17 | +.TH DELPART 8 "11 Jan 2007" | |
18 | +.SH NAME | |
19 | +delpart \- | |
20 | +simple wrapper around the "del partition" ioctl | |
21 | +.SH SYNOPSIS | |
22 | +.B delpart device partition | |
23 | +.SH DESCRIPTION | |
24 | +.B delpart | |
25 | +is a program that asks the Linux kernel to remove a partition. | |
26 | + | |
27 | +This command doesn't manipulate with partitions on hard drive. | |
28 | + | |
29 | +.SH OPTIONS | |
30 | +.TP | |
31 | +.BI device | |
32 | +Specify the disk device. | |
33 | +.TP | |
34 | +.BI partition | |
35 | +Specify the partition number. | |
36 | + | |
37 | +.SH SEE ALSO | |
38 | +.BR addpart (8), | |
39 | +.BR fdisk (8), | |
40 | +.BR parted (8), | |
41 | +.BR partprobe (8), | |
42 | +.BR partx (8) | |
43 | --- /dev/null 2007-01-05 11:17:33.335119060 +0100 | |
44 | +++ util-linux-2.13-pre7/partx/addpart.8 2007-01-11 16:28:37.000000000 +0100 | |
45 | @@ -0,0 +1,36 @@ | |
46 | +.\" addpart.8 -- | |
47 | +.\" Copyright 2007 Karel Zak <kzak@redhat.com> | |
48 | +.\" Copyright 2007 Red Hat, Inc. | |
49 | +.\" May be distributed under the GNU General Public License | |
50 | +.TH ADDPART 8 "11 Jan 2007" | |
51 | +.SH NAME | |
52 | +addpart \- | |
53 | +simple wrapper around the "add partition" ioctl | |
54 | +.SH SYNOPSIS | |
55 | +.B addpart device partition start length | |
56 | +.SH DESCRIPTION | |
57 | +.B addpart | |
58 | +is a program that informs the Linux kernel of new partition. | |
59 | + | |
60 | +This command doesn't manipulate with partitions on hard drive. | |
61 | + | |
62 | +.SH PARAMETERS | |
63 | +.TP | |
64 | +.BI device | |
65 | +Specify the disk device. | |
66 | +.TP | |
67 | +.BI partition | |
68 | +Specify the partition number. | |
69 | +.TP | |
70 | +.BI start | |
71 | +Specify the begin of the partition (in bytes). | |
72 | +.TP | |
73 | +.BI length | |
74 | +Specify the length of the partition (in bytes). | |
75 | + | |
76 | +.SH SEE ALSO | |
77 | +.BR delpart (8), | |
78 | +.BR fdisk (8), | |
79 | +.BR parted (8), | |
80 | +.BR partprobe (8), | |
81 | +.BR partx (8) | |
82 | --- /dev/null 2007-01-05 11:17:33.335119060 +0100 | |
83 | +++ util-linux-2.13-pre7/partx/partx.8 2007-01-11 16:28:37.000000000 +0100 | |
84 | @@ -0,0 +1,45 @@ | |
85 | +.\" partx.8 -- | |
86 | +.\" Copyright 2007 Karel Zak <kzak@redhat.com> | |
87 | +.\" Copyright 2007 Red Hat, Inc. | |
88 | +.\" May be distributed under the GNU General Public License | |
89 | +.TH PARTX 8 "11 Jan 2007" | |
90 | +.SH NAME | |
91 | +partx \- | |
92 | +telling the kernel about presence and numbering of on-disk partitions. | |
93 | +.SH SYNOPSIS | |
94 | +.B partx [-a|-d|-l] [--type TYPE] [--nr M-N] [partition] disk | |
95 | +.SH DESCRIPTION | |
96 | +Given a block device ( | |
97 | +.B disk | |
98 | +) and a partition table | |
99 | +.B type | |
100 | +, try to parse the partition table, and list the | |
101 | +contents. Optionally add or remove partitions. | |
102 | + | |
103 | +This is not an fdisk - adding and removing partitions | |
104 | +is not a change of the disk, but just telling the kernel | |
105 | +about presence and numbering of on-disk partitions. | |
106 | + | |
107 | +.SH OPTIONS | |
108 | +.TP | |
109 | +.B \-a | |
110 | +add specified partitions or read disk and add all partitions | |
111 | +.TP | |
112 | +.B \-d | |
113 | +delete specified or all partitions | |
114 | +.TP | |
115 | +.B \-l | |
116 | +list partitions | |
117 | +.TP | |
118 | +.BI --type " TYPE" | |
119 | +Specify the partition type -- dos, bsd, solaris, unixware or gpt. | |
120 | +.TP | |
121 | +.BI --nr " M-N" | |
122 | +Specify the range of partitions (e.g --nr 2-4). | |
123 | + | |
124 | +.SH SEE ALSO | |
125 | +.BR addpart (8), | |
126 | +.BR delpart (8), | |
127 | +.BR fdisk (8), | |
128 | +.BR parted (8), | |
129 | +.BR partprobe (8) |