Re: [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kai Mäkisara <kai.makisara@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
 man4/st.4 | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/man4/st.4 b/man4/st.4
index 5ac1ee2..b818a1c 100644
--- a/man4/st.4
+++ b/man4/st.4
@@ -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
-- 
2.6.6

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux