Re: Modify disklabel(8) manual about possible units

2016-12-08 Thread Jason McIntyre
On Wed, Dec 07, 2016 at 05:39:22PM +0100, J?r?me FRGACIC wrote:
> Hello tech,
> 
> While reading disklabel(8) man page I remark that the two possibles
> units '%' (percent of total) and '&' (percent of free) are only
> mentioned in the description of the 'p' option but not in the section
> which list available units.
> 
> I would suggest to move the '%' and '&' units description in the later
> section.
> 

fixed, thanks (slightly different version committed).
jmc

> Index: disklabel.8
> ===
> RCS file: /cvs/src/sbin/disklabel/disklabel.8,v
> retrieving revision 1.120
> diff -u -r1.120 disklabel.8
> --- disklabel.8   3 Dec 2016 07:34:39 -   1.120
> +++ disklabel.8   7 Dec 2016 16:32:06 -
> @@ -157,11 +157,6 @@
>  instead of sectors.
>  Valid units are b(ytes), c(ylinders), k(ilobytes), m(egabytes), g
> (igabytes) and t(erabytes).
> -For operations other than displaying a partition the
> -.Ql %
> -(percent of total) and
> -.Ql &
> -(percent of free) units are also accepted.
>  .It Fl R
>  Restore a disk label that was formatted in a prior operation and
>  saved in an
> @@ -265,9 +260,13 @@
>  for megabytes,
>  .Sq g
>  for gigabytes,
> -and
>  .Sq t
> -for terabytes.
> +for terabytes,
> +.Ql %
> +for a percent of total
> +and
> +.Ql &
> +for a percent of free.
>  If no unit is given, the default is to use sectors
>  (usually 512 bytes).
>  Quantities will be rounded to the nearest
> 
> PS : I haven't subcribe to the tech mailing list, so please add me as
> recipient if you reply.
> 
> Kind regards,
> 
> 
> J?r?me FRGACIC
> 



Modify disklabel(8) manual about possible units

2016-12-07 Thread Jérôme FRGACIC
Hello tech,

While reading disklabel(8) man page I remark that the two possibles
units '%' (percent of total) and '&' (percent of free) are only
mentioned in the description of the 'p' option but not in the section
which list available units.

I would suggest to move the '%' and '&' units description in the later
section.

Index: disklabel.8
===
RCS file: /cvs/src/sbin/disklabel/disklabel.8,v
retrieving revision 1.120
diff -u -r1.120 disklabel.8
--- disklabel.8 3 Dec 2016 07:34:39 -   1.120
+++ disklabel.8 7 Dec 2016 16:32:06 -
@@ -157,11 +157,6 @@
 instead of sectors.
 Valid units are b(ytes), c(ylinders), k(ilobytes), m(egabytes), g
(igabytes) and t(erabytes).
-For operations other than displaying a partition the
-.Ql %
-(percent of total) and
-.Ql &
-(percent of free) units are also accepted.
 .It Fl R
 Restore a disk label that was formatted in a prior operation and
 saved in an
@@ -265,9 +260,13 @@
 for megabytes,
 .Sq g
 for gigabytes,
-and
 .Sq t
-for terabytes.
+for terabytes,
+.Ql %
+for a percent of total
+and
+.Ql &
+for a percent of free.
 If no unit is given, the default is to use sectors
 (usually 512 bytes).
 Quantities will be rounded to the nearest

PS : I haven't subcribe to the tech mailing list, so please add me as
recipient if you reply.

Kind regards,


Jérôme FRGACIC