st.4: Update MTMKPART for kernels >= 4.6

Update the description of the MTMKPART operation of MTIOCTOP to match
the changes in kernel version 4.6 (commit
8038e6456a3e6f5c4759e0d73c4f9165b90c93e7)

Signed-off-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
This commit is contained in:
Kai Mäkisara 2016-06-06 22:36:15 +03:00 committed by Michael Kerrisk
parent 34ba508b82
commit 8661af1103
1 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.TH ST 4 2016-03-15 "Linux" "Linux Programmer's Manual"
.TH ST 4 2016-06-05 "Linux" "Linux Programmer's Manual"
.SH NAME
st \- SCSI tape device
.SH SYNOPSIS
@ -335,11 +335,14 @@ Lock the tape drive door.
Format the tape into one or two partitions.
If
.I mt_count
is nonzero, it gives the size of the first partition and the second
partition contains the rest of the tape.
If
is positive, it gives the size of partition 1 and partition
0 contains the rest of the tape. If
.I mt_count
is zero, the tape is formatted into one partition.
From kernel version 4.6, negative
.I mt_count
specifies the size of partition 0 and the rest of the tape contains partition
1. The physical ordering of partitions depends on the drive.
This command is not allowed for a drive unless the partition support
is enabled for the drive (see
.BR MT_ST_CAN_PARTITIONS