* [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk
@ 2014-07-14 20:53 Benno Schulenberg
2014-07-14 20:53 ` [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that Benno Schulenberg
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Benno Schulenberg @ 2014-07-14 20:53 UTC (permalink / raw)
To: util-linux
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
disk-utils/cfdisk.8 | 82 ++++++++++++++++++++++++++++-----------------------
1 files changed, 45 insertions(+), 37 deletions(-)
diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8
index c5fe2b4..6471de6 100644
--- a/disk-utils/cfdisk.8
+++ b/disk-utils/cfdisk.8
@@ -11,7 +11,6 @@
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
-.\" " for hilit mode
.TH CFDISK 8 "March 2014" "util-linux" "System Administration"
.SH NAME
cfdisk \- display or manipulate a disk partition table
@@ -22,25 +21,27 @@ cfdisk \- display or manipulate a disk partition table
.SH DESCRIPTION
.B cfdisk
is a curses-based program for partitioning any block device.
-The default device is /dev/sda.
+The default device is
+.BR /dev/sda .
Note that
.B cfdisk
-provides basic partitioning functionality by a user friendly interface. If you
-need advanced features, use
-.BR fdisk (8).
+provides basic partitioning functionality with a user-friendly interface.
+If you need advanced features, use
+.BR fdisk (8)
+instead.
Since version 2.25
-.BR cfdisk (8)
-supports MBR (DOS), GPT, SUN and SGI disk labels, but it does not provide any
-functionality in regards to CHS (Cylinder-Head-Sector) addressing. CHS has
-never been important for Linux and this addressing concept does not make any
+.B cfdisk
+supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any
+functionality for CHS (Cylinder-Head-Sector) addressing. CHS has
+never been important for Linux, and this addressing concept does not make any
sense for new devices.
Since version 2.25
-.BR cfdisk (8)
-also does not provide a 'print' command. This functionality is provided by
-utils
+.B cfdisk
+also does not provide a 'print' command any more.
+This functionality is provided by the utilities
.BR partx (8)
and
.BR lsblk (8)
@@ -50,29 +51,34 @@ If you want to remove an old partition table from a device, use
.BR wipefs (8).
.SH OPTIONS
-.IP "\fB\-h, \-\-help\fP"
+.TP
+.BR \-h , " \-\-help"
Display help text and exit.
-.IP "\fB\-L\fR, \fB\-\-color\fR[=\fIwhen\fR]"
-Colorize output, enabled by default. The optional argument \fIwhen\fP can be
+.TP
+.BR \-L , " \-\-color" [ = \fIwhen\fR]
+Colorize the output; enabled by default. The optional argument \fIwhen\fP can be
\fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted,
it defaults to \fBauto\fR.
-.IP "\fB-V, \-\-version"
+.TP
+.BR \-V , " \-\-version"
Display version information and exit.
-.IP "\fB-z, \-\-zero"
-Start with in-memory zeroed partition table. This option does not zero the
+.TP
+.BR \-z , " \-\-zero"
+Start with an in-memory zeroed partition table. This option does not zero the
partition table on the disk; rather, it simply starts the program without
reading the existing partition table.
.SH COMMANDS
+The commands for
.B cfdisk
-commands can be entered by pressing the desired key (pressing
+can be entered by pressing the corresponding key (pressing
.I Enter
after the command is not necessary). Here is a list of the available
commands:
.TP
.B b
Toggle the bootable flag of the current partition. This allows you to
-select which primary partition is bootable on the drive. This command may not
+select which primary partition is bootable on the drive. This command may not
be available for all partition label types.
.TP
.B d
@@ -82,18 +88,18 @@ surrounding the current partition. A partition already marked as free
space or marked as unusable cannot be deleted.
.TP
.B h
-Print the help screen.
+Show the help screen.
.TP
.B n
-Create a new partition from free space.
+Create a new partition from free space.
.B cfdisk
-next prompts you for the size of the partition you want to create.
+then prompts you for the size of the partition you want to create.
The default size is equal to the entire available free space at the current
position.
-The size may be followed by the multiplicative suffixes KiB=1024,
-MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB"
-is optional, e.g. "K" has the same meaning as "KiB")
+The size may be followed by a multiplicative suffix: KiB (=1024),
+MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB
+(the "iB" is optional, e.g. "K" has the same meaning as "KiB").
.TP
.B q
Quit the program. This will exit the program without writing any data to
@@ -112,11 +118,12 @@ the write by entering `yes' or `no'. If you enter `yes',
will write the partition table to disk and then tell the kernel to re-read the
partition table from the disk.
-The re-reading of the partition table does not work in some cases. In such a
-case you need to inform the kernel about new partitions by
-.BR partprobe (8),
-.BR kpartx (8)
-or reboot the system.
+The re-reading of the partition table does not always work. In such a
+case you need to inform the kernel about any new partitions by using
+.BR partprobe (8)
+or
+.BR partx (8),
+or by rebooting the system.
.TP
.IR "Up Arrow" , " Down Arrow"
Move the cursor to the previous or next partition. If there are more
@@ -125,22 +132,23 @@ partitions than can be displayed on a screen, you can display the next
partition displayed on the screen.
.PP
-All of the commands can be entered with either upper or lower case
+All commands can be entered with either uppercase or lowercase
letters (except for
.BR W rite).
-When in a sub-menu or at a prompt to enter a filename, you can hit the
+When in a submenu or at a prompt for entering a size, you can hit the
.I ESC
-key to return to the main command line.
+key to return to the main menu.
.SH COLORS
-Implicit coloring can be disabled by an empty file \fI/etc/terminal-colors.d/cfdisk.disable\fR.
+Implicit coloring can be disabled by creating the empty file
+.IR /etc/terminal-colors.d/cfdisk.disable .
See
.BR terminal-colors.d (5)
for more details about colorization configuration.
.B cfdisk
-does not support colors customization by color scheme file.
+does not support color customization with a color-scheme file.
.SH "SEE ALSO"
.BR fdisk (8),
@@ -151,7 +159,7 @@ does not support colors customization by color scheme file.
.SH AUTHOR
Karel Zak <kzak@redhat.com>
.PP
-The current cfdisk implemntation is based on the original cfdisk
+The current cfdisk implementation is based on the original cfdisk
from Kevin E. Martin (martin@cs.unc.edu).
.SH AVAILABILITY
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that
2014-07-14 20:53 [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Benno Schulenberg
@ 2014-07-14 20:53 ` Benno Schulenberg
2014-07-15 11:29 ` Karel Zak
2014-07-14 20:53 ` [PATCH 3/3] cfdisk: restore the license that was lost in January Benno Schulenberg
2014-07-15 11:29 ` [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Karel Zak
2 siblings, 1 reply; 6+ messages in thread
From: Benno Schulenberg @ 2014-07-14 20:53 UTC (permalink / raw)
To: util-linux
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
sys-utils/mount.8 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index fc8225a..ae29ea8 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -858,7 +858,7 @@ flag followed by a comma separated string of options. For example:
.RS
.RS
.sp
-.B "mount LABEL=mydisk \-o noatime,nouser"
+.B "mount LABEL=mydisk \-o noatime,nodev,nosuid"
.sp
.RE
@@ -1158,7 +1158,7 @@ This option implies the options
.TP
.B nouser
Forbid an ordinary (i.e., non-root) user to mount the filesystem.
-This is the default.
+This is the default; it does not imply any other options.
.TP
.B users
Allow every user to mount and unmount the filesystem.
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] cfdisk: restore the license that was lost in January
2014-07-14 20:53 [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Benno Schulenberg
2014-07-14 20:53 ` [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that Benno Schulenberg
@ 2014-07-14 20:53 ` Benno Schulenberg
2014-07-15 11:28 ` Karel Zak
2014-07-15 11:29 ` [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Karel Zak
2 siblings, 1 reply; 6+ messages in thread
From: Benno Schulenberg @ 2014-07-14 20:53 UTC (permalink / raw)
To: util-linux
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
disk-utils/cfdisk.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index fb089f5..544e87a 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1,3 +1,17 @@
+/*
+ * cfdisk.c - Display or manipulate a disk partition table.
+ *
+ * Copyright (C) 2014 Karel Zak <kzak@redhat.com>
+ * Copyright (C) 1994 Kevin E. Martin (martin@cs.unc.edu)
+ *
+ * The original cfdisk was inspired by the fdisk program
+ * by A. V. Le Blanc (leblanc@mcc.ac.uk.
+ *
+ * cfdisk is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
--
1.7.0.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] cfdisk: restore the license that was lost in January
2014-07-14 20:53 ` [PATCH 3/3] cfdisk: restore the license that was lost in January Benno Schulenberg
@ 2014-07-15 11:28 ` Karel Zak
0 siblings, 0 replies; 6+ messages in thread
From: Karel Zak @ 2014-07-15 11:28 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: util-linux
On Mon, Jul 14, 2014 at 10:53:36PM +0200, Benno Schulenberg wrote:
> Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
> ---
> disk-utils/cfdisk.c | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
> index fb089f5..544e87a 100644
> --- a/disk-utils/cfdisk.c
> +++ b/disk-utils/cfdisk.c
> @@ -1,3 +1,17 @@
> +/*
> + * cfdisk.c - Display or manipulate a disk partition table.
> + *
> + * Copyright (C) 2014 Karel Zak <kzak@redhat.com>
> + * Copyright (C) 1994 Kevin E. Martin (martin@cs.unc.edu)
Well, not sure if it's correct to blame Kevin for the new fdisk if
all the new code is from scratch :-) ... but yes, all the details and
ideas are the same with Kevin's version.
Applied, thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that
2014-07-14 20:53 ` [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that Benno Schulenberg
@ 2014-07-15 11:29 ` Karel Zak
0 siblings, 0 replies; 6+ messages in thread
From: Karel Zak @ 2014-07-15 11:29 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: util-linux
On Mon, Jul 14, 2014 at 10:53:35PM +0200, Benno Schulenberg wrote:
> sys-utils/mount.8 | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk
2014-07-14 20:53 [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Benno Schulenberg
2014-07-14 20:53 ` [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that Benno Schulenberg
2014-07-14 20:53 ` [PATCH 3/3] cfdisk: restore the license that was lost in January Benno Schulenberg
@ 2014-07-15 11:29 ` Karel Zak
2 siblings, 0 replies; 6+ messages in thread
From: Karel Zak @ 2014-07-15 11:29 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: util-linux
On Mon, Jul 14, 2014 at 10:53:34PM +0200, Benno Schulenberg wrote:
> disk-utils/cfdisk.8 | 82 ++++++++++++++++++++++++++++-----------------------
> 1 files changed, 45 insertions(+), 37 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-15 11:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 20:53 [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Benno Schulenberg
2014-07-14 20:53 ` [PATCH 2/3] docs: mount -o nouser is not useful, be clearer about that Benno Schulenberg
2014-07-15 11:29 ` Karel Zak
2014-07-14 20:53 ` [PATCH 3/3] cfdisk: restore the license that was lost in January Benno Schulenberg
2014-07-15 11:28 ` Karel Zak
2014-07-15 11:29 ` [PATCH 1/3] docs: improve wording and formatting of the man page of cfdisk Karel Zak
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).