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

76 lines
2.5 KiB
HTML

<HTML>
<HEAD>
<TITLE>partition(8)</TITLE>
</HEAD>
<BODY>
<H1>partition(8)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
partition - make a partition table
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>partition</STRONG> [<STRONG>-mf</STRONG>] <EM>device</EM> [<EM>type</EM>:]<EM>size</EM>[<STRONG>+*</STRONG>] ...
</PRE>
<H2>DESCRIPTION</H2><PRE>
<STRONG>Partition</STRONG> makes a partition table on <EM>device</EM> using the types and sizes
given. It may be used in combination with <STRONG><A HREF="../man8/repartition.8.html">repartition(8)</A></STRONG> for automatic
installation of Minix.
You may give up to four <EM>type</EM>:<EM>size</EM>[<STRONG>+*</STRONG>] specifications for the partitions.
You may also specify holes before, between, and after the partitions. A
hole differs from a partition specification by not having a type.
The first hole is by default 1 sector to make space for the primary
bootstrap and the partition table. The other holes are 0.
The <EM>type</EM> field is the type of the partitition in hexadecimal. The <EM>size</EM>
field is the partition's size in sectors. The <STRONG>+</STRONG> or <STRONG>*</STRONG> may optionally be
added to indicate that the partition must be expanded to contain any
leftover space on the device or to mark the partition active.
Partitions are padded out to cylinder boundaries, except for the first
one, it starts on track 1. Some operating systems care about this.
Minix and MS-DOS do not.
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-m</STRONG> Minix only, no need to pad partitions. This is the default for
subpartition tables.
<STRONG>-f</STRONG> Force making a partition table even if the device is too small.
</PRE>
<H2>EXAMPLE</H2><PRE>
<STRONG>partition</STRONG> <STRONG>/dev/hd0</STRONG> <STRONG>01:16384</STRONG> <STRONG>81:40000</STRONG> <STRONG>81:2880*</STRONG> <STRONG>06:20000+</STRONG>
Partitions disk 0 into an 8 Mb DOS partition, 20 Mb Minix /usr, 1.44 Mb
Minix / (active), and a DOS partition of at least 10 Mb at the end of the
disk. (06:0+ would have been ok too, it's just a sanity check.)
</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>, <STRONG><A HREF="../man8/repartition.8.html">repartition(8)</A></STRONG>.
</PRE>
<H2>AUTHOR</H2><PRE>
Kees J. Bot (kjb@cs.vu.nl)
</PRE>
</BODY>
</HTML>