Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/mkimg/mkimg.1
Show All 18 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd August 7, 2015 | .Dd April 26, 2017 | ||||
.Dt MKIMG 1 | .Dt MKIMG 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm mkimg | .Nm mkimg | ||||
.Nd "utility to make disk images" | .Nd "utility to make disk images" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl H Ar heads | .Op Fl H Ar heads | ||||
.Op Fl P Ar blksz | .Op Fl P Ar blksz | ||||
.Op Fl S Ar secsz | .Op Fl S Ar secsz | ||||
.Op Fl T Ar tracksz | .Op Fl T Ar tracksz | ||||
.Op Fl b Ar bootcode | .Op Fl b Ar bootcode | ||||
.Op Fl c Ar capacity | .Op Fl c Ar min_capacity | ||||
.Op Fl C Ar max_capacity | |||||
.Op Fl -capacity Ar capacity | |||||
.Op Fl f Ar format | .Op Fl f Ar format | ||||
.Op Fl o Ar outfile | .Op Fl o Ar outfile | ||||
.Op Fl a Ar active | .Op Fl a Ar active | ||||
.Op Fl v | .Op Fl v | ||||
.Op Fl y | .Op Fl y | ||||
.Op Fl s Ar scheme Op Fl p Ar partition ... | .Op Fl s Ar scheme Op Fl p Ar partition ... | ||||
.Nm | .Nm | ||||
.Ar --formats | --schemes | --version | .Ar --formats | --schemes | --version | ||||
▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
options to create an empty disk image with the given (virtual) size. | options to create an empty disk image with the given (virtual) size. | ||||
An empty partition table can be written to the disk when specifying a | An empty partition table can be written to the disk when specifying a | ||||
partitioning scheme with the | partitioning scheme with the | ||||
.Fl s | .Fl s | ||||
option, but without specifying any partitions. | option, but without specifying any partitions. | ||||
When the size required for all the partitions is larger than the | When the size required for all the partitions is larger than the | ||||
given capacity, then the disk image will be larger than the capacity | given capacity, then the disk image will be larger than the capacity | ||||
given. | given. | ||||
.Pp | |||||
The | |||||
.Fl C | |||||
option specifies a maximum capacity for the disk image. | |||||
If the combined sizes of the given partitions exceed the size given with | |||||
.Fl C , | |||||
image creation fails. | |||||
.Pp | |||||
The | |||||
.Fl -capacity | |||||
option is a shorthand to specify the minimum and maximum capacity at the | |||||
same time. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fl v | .Fl v | ||||
option increases the level of output that the | option increases the level of output that the | ||||
.Nm | .Nm | ||||
utility prints. | utility prints. | ||||
.Pp | .Pp | ||||
The | The | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |