* [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6
@ 2016-06-05 18:14 Kai Makisara
[not found] ` <alpine.LSU.2.20.1606052111370.11958-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Kai Makisara @ 2016-06-05 18:14 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]
From: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org>
Update the description of the MTMKPART operation of MTIOCTOP to match
the changes in kernel version 4.6.
Signed-off-by: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread[parent not found: <alpine.LSU.2.20.1606052111370.11958-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org>]
* Re: [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6 [not found] ` <alpine.LSU.2.20.1606052111370.11958-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org> @ 2016-06-05 20:04 ` Michael Kerrisk (man-pages) [not found] ` <CAKgNAkiBTC5tM=3h-XrZHEdeDme_mcWp0QXxPEKahshYiqTpxg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Michael Kerrisk (man-pages) @ 2016-06-05 20:04 UTC (permalink / raw) To: Kai Makisara; +Cc: linux-man Hi Kai, On 5 June 2016 at 13:14, Kai Makisara <Kai.Makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> wrote: > From: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> > > Update the description of the MTMKPART operation of MTIOCTOP to match > the changes in kernel version 4.6. It would be helpful to cite the kernel commit SHA for this change. Could you add that to this commit message please? Cheers, Michael > > Signed-off-by: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> > --- > 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 -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAKgNAkiBTC5tM=3h-XrZHEdeDme_mcWp0QXxPEKahshYiqTpxg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6 [not found] ` <CAKgNAkiBTC5tM=3h-XrZHEdeDme_mcWp0QXxPEKahshYiqTpxg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-06-06 19:36 ` Kai Makisara [not found] ` <alpine.LSU.2.20.1606062235440.3307-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Kai Makisara @ 2016-06-06 19:36 UTC (permalink / raw) To: Michael Kerrisk (man-pages); +Cc: linux-man [-- Attachment #1: Type: text/plain, Size: 1601 bytes --] From: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> 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-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> --- 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 ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <alpine.LSU.2.20.1606062235440.3307-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org>]
* Re: [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6 [not found] ` <alpine.LSU.2.20.1606062235440.3307-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org> @ 2016-06-08 9:32 ` Michael Kerrisk (man-pages) 0 siblings, 0 replies; 4+ messages in thread From: Michael Kerrisk (man-pages) @ 2016-06-08 9:32 UTC (permalink / raw) To: Kai Makisara; +Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man On 06/06/2016 09:36 PM, Kai Makisara wrote: > From: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> > > Update the description of the MTMKPART operation of MTIOCTOP to match > the changes in kernel version 4.6 (commit > 8038e6456a3e6f5c4759e0d73c4f9165b90c93e7) Thanks, Kai. Applied. Cheers, Michael > Signed-off-by: Kai Mäkisara <kai.makisara-9Aww8k/80nUxHbG02/KK1g@public.gmane.org> > --- > 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 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-08 9:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-05 18:14 [patch 2/2] st.4: Update MTMKPART for kernels >= 4.6 Kai Makisara
[not found] ` <alpine.LSU.2.20.1606052111370.11958-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org>
2016-06-05 20:04 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkiBTC5tM=3h-XrZHEdeDme_mcWp0QXxPEKahshYiqTpxg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-06-06 19:36 ` Kai Makisara
[not found] ` <alpine.LSU.2.20.1606062235440.3307-GWvddiweZZPYqp0P/RGh9g2scfS9Synj@public.gmane.org>
2016-06-08 9:32 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).