File: addpart.8.adoc

package info (click to toggle)
util-linux 2.41-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 95,208 kB
  • sloc: ansic: 179,016; sh: 22,689; yacc: 1,284; makefile: 528; xml: 422; python: 316; lex: 89; ruby: 75; csh: 37; exp: 19; sed: 16; perl: 15; sql: 9
file content (59 lines) | stat: -rw-r--r-- 1,171 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//po4a: entry man manual
////
addpart.8 -- man page for addpart
Copyright 2007 Karel Zak <kzak@redhat.com>
Copyright 2007 Red Hat, Inc.
May be distributed under the GNU General Public License
////
= addpart(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: addpart

== NAME

addpart - tell the kernel about the existence of a partition

== SYNOPSIS

*addpart* _device partition start length_

== DESCRIPTION

*addpart* tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition" ioctl.

This command doesn't manipulate partitions on a block device.

== PARAMETERS

_device_::
The disk device.

_partition_::
The partition number.

_start_::
The beginning of the partition (in 512-byte sectors).

_length_::
The length of the partition (in 512-byte sectors).

include::man-common/help-version.adoc[]

== SEE ALSO

*delpart*(8),
*fdisk*(8),
*parted*(8),
*partprobe*(8),
*partx*(8)

include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

ifdef::translation[]
include::man-common/translation.adoc[]
endif::[]