Files
oldlinux-files/Minix/2.0.0/wwwman/man8/repartition.8.html
2024-02-19 00:21:39 -05:00

80 lines
1.8 KiB
HTML

<HTML>
<HEAD>
<TITLE>repartition(8)</TITLE>
</HEAD>
<BODY>
<H1>repartition(8)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
repartition - load a partition table
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>repartition</STRONG> <EM>device</EM> [<EM>partition</EM>-<EM>file</EM>]
</PRE>
<H2>DESCRIPTION</H2><PRE>
<STRONG>Repartition</STRONG> uploads a new partition table for the partitions of <EM>device</EM>.
The table is obtained from the first sector of <EM>partition</EM>-<EM>file</EM> if given,
<EM>device</EM> otherwise. <EM>Device</EM> may refer to the whole drive or a primary
partition, depending on whether you want to upload a partition or a
subpartition table. The partitions will be truncated to fit within the
enclosing device like the disk driver does, unless the numbers are coming
from <EM>partition</EM>-<EM>file</EM>.
</PRE>
<H2>EXAMPLES</H2><PRE>
repartition /dev/hd0
repartition /dev/hd4 /etc/hd4.table
Reload the partition table of drive 0 setting /dev/hd[1-4], and the
subpartition table of /dev/hd4 setting /dev/hd4[a-d] using a file. The
latter may be useful if you need more than the 4 subpartitions a single
Minix partition gives you.
</PRE>
<H2>DIAGNOSTICS</H2><PRE>
The new table is printed on standard output.
</PRE>
<H2>FILES</H2><PRE>
/dev/hd[0-9]
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man4/hd.4.html">hd(4)</A></STRONG>, <STRONG><A HREF="../man8/part.8.html">part(8)</A></STRONG>.
</PRE>
<H2>BUGS</H2><PRE>
The disk must be in use for the changes to stick. The partition table of
an idle disk will be reloaded on the first open.
</PRE>
<H2>AUTHOR</H2><PRE>
Kees J. Bot (kjb@cs.vu.nl)
</PRE>
</BODY>
</HTML>