89 lines
2.2 KiB
HTML
89 lines
2.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of ADDPART</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>ADDPART</H1>
|
|
Section: System Administration (8)<BR>Updated: January 2015<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
addpart - tell the kernel about the existence of a partition
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>addpart</B>
|
|
|
|
<I>device partition start length</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>addpart</B>
|
|
|
|
tells the Linux kernel about the existence of the specified partition.
|
|
The command is a simple wrapper around the "add partition" ioctl.
|
|
<P>
|
|
This command doesn't manipulate partitions on a block device.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>PARAMETERS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><I>device</I>
|
|
|
|
<DD>
|
|
The disk device.
|
|
<DT id="2"><I>partition</I>
|
|
|
|
<DD>
|
|
The partition number.
|
|
<DT id="3"><I>start</I>
|
|
|
|
<DD>
|
|
The beginning of the partition (in 512-byte sectors).
|
|
<DT id="4"><I>length</I>
|
|
|
|
<DD>
|
|
The length of the partition (in 512-byte sectors).
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+delpart">delpart</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fdisk">fdisk</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+parted">parted</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+partprobe">partprobe</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+partx">partx</A></B>(8)
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AVAILABILITY</H2>
|
|
|
|
The addpart command is part of the util-linux package and is available from
|
|
<A HREF="https://www.kernel.org/pub/linux/utils/util-linux/.">https://www.kernel.org/pub/linux/utils/util-linux/.</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">PARAMETERS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">AVAILABILITY</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:10 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|