All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] btrfs-progs: Fix typos in docs and user-facing strings
@ 2018-03-16  0:39 Nicholas D Steeves
  2018-03-16  0:39 ` [PATCH 1/1] " Nicholas D Steeves
  0 siblings, 1 reply; 5+ messages in thread
From: Nicholas D Steeves @ 2018-03-16  0:39 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nicholas D Steeves

Found with lintian and Emacs' writegood-mode.

Cheers!

Nicholas D Steeves (1):
  Fix typos in docs and user-facing strings

 Documentation/btrfs-balance.asciidoc | 2 +-
 Documentation/btrfs-check.asciidoc   | 2 +-
 Documentation/btrfs-man5.asciidoc    | 8 ++++----
 cmds-subvolume.c                     | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.14.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] btrfs-progs: Fix typos in docs and user-facing strings
  2018-03-16  0:39 [PATCH 0/1] btrfs-progs: Fix typos in docs and user-facing strings Nicholas D Steeves
@ 2018-03-16  0:39 ` Nicholas D Steeves
  2018-03-16  8:00   ` Nikolay Borisov
  2018-03-19 18:28   ` David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: Nicholas D Steeves @ 2018-03-16  0:39 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nicholas D Steeves

Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
---
 Documentation/btrfs-balance.asciidoc | 2 +-
 Documentation/btrfs-check.asciidoc   | 2 +-
 Documentation/btrfs-man5.asciidoc    | 8 ++++----
 cmds-subvolume.c                     | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Documentation/btrfs-balance.asciidoc b/Documentation/btrfs-balance.asciidoc
index 7017bed7..536243bc 100644
--- a/Documentation/btrfs-balance.asciidoc
+++ b/Documentation/btrfs-balance.asciidoc
@@ -204,7 +204,7 @@ The way balance operates, it usually needs to temporarily create a new block
 group and move the old data there, before the old block group can be removed.
 For that it needs the work space, otherwise it fails for ENOSPC reasons.
 This is not the same ENOSPC as if the free space is exhausted. This refers to
-the space on the level of block groups, which are bigger parts of the filesytem
+the space on the level of block groups, which are bigger parts of the filesystem
 that contain many file extents.
 
 The free work space can be calculated from the output of the *btrfs filesystem show*
diff --git a/Documentation/btrfs-check.asciidoc b/Documentation/btrfs-check.asciidoc
index cc76d846..b963eae5 100644
--- a/Documentation/btrfs-check.asciidoc
+++ b/Documentation/btrfs-check.asciidoc
@@ -122,7 +122,7 @@ NOTE: 'lowmem' mode does not work with '--repair' yet, and is still considered
 experimental.
 
 --force::
-allow to work on a mounted filesystem. Note that this should work fine on a
+allow work on a mounted filesystem. Note that this should work fine on a
 quiescent or read-only mounted filesystem but may crash if the device is
 changed externally, eg. by the kernel module.  Repair without mount checks is
 not supported right now.
diff --git a/Documentation/btrfs-man5.asciidoc b/Documentation/btrfs-man5.asciidoc
index b20abf05..0529496a 100644
--- a/Documentation/btrfs-man5.asciidoc
+++ b/Documentation/btrfs-man5.asciidoc
@@ -210,7 +210,7 @@ system at that point.
 Enable discarding of freed file blocks.  This is useful for SSD devices, thinly
 provisioned LUNs, or virtual machine images; however, every storage layer must
 support discard for it to work. if the backing device does not support
-asynchronous queued TRIM, then this operation can severly degrade performance,
+asynchronous queued TRIM, then this operation can severely degrade performance,
 because a synchronous TRIM operation will be attempted instead. Queued TRIM
 requires newer than SATA revision 3.1 chipsets and devices.
 
@@ -223,7 +223,7 @@ of actually discarding the blocks.
 
 If discarding is not necessary to be done at the block freeing time, there's
 `fstrim`(8) tool that lets the filesystem discard all free blocks in a batch,
-possibly not much interfering with other operations. Also, the the device may
+possibly not much interfering with other operations. Also, the device may
 ignore the TRIM command if the range is too small, so running the batch discard
 can actually discard the blocks.
 
@@ -289,7 +289,7 @@ checksums don't fit inside a single page.
 +
 Don't use this option unless you really need it. The inode number limit
 on 64bit system is 2^64^, which is practically enough for the whole filesystem
-lifetime. Due to implemention of linux VFS layer, the inode numbers on 32bit
+lifetime. Due to implementation of linux VFS layer, the inode numbers on 32bit
 systems are only 32 bits wide. This lowers the limit significantly and makes
 it possible to reach it. In such case, this mount option will help.
 Alternatively, files with high inode numbers can be copied to a new subvolume
@@ -415,7 +415,7 @@ will disable all SSD options.
 
 *subvol='path'*::
 Mount subvolume from 'path' rather than the toplevel subvolume. The
-'path' is always treated as relative to the the toplevel subvolume.
+'path' is always treated as relative to the toplevel subvolume.
 This mount option overrides the default subvolume set for the given filesystem.
 
 *subvolid='subvolid'*::
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index ba57eaa0..45363a5a 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -338,7 +338,7 @@ again:
 			error("unable to get fsid for '%s': %s",
 				path, strerror(-res));
 			error(
-			"delete suceeded but commit may not be done in the end");
+			"delete succeeded but commit may not be done in the end");
 			ret = 1;
 			goto out;
 		}
-- 
2.14.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-progs: Fix typos in docs and user-facing strings
  2018-03-16  0:39 ` [PATCH 1/1] " Nicholas D Steeves
@ 2018-03-16  8:00   ` Nikolay Borisov
  2018-03-17 20:09     ` Nicholas D Steeves
  2018-03-19 18:28   ` David Sterba
  1 sibling, 1 reply; 5+ messages in thread
From: Nikolay Borisov @ 2018-03-16  8:00 UTC (permalink / raw)
  To: Nicholas D Steeves, linux-btrfs



On 16.03.2018 02:39, Nicholas D Steeves wrote:
> Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>


All look fine except one nit, see below.

> ---
>  Documentation/btrfs-balance.asciidoc | 2 +-
>  Documentation/btrfs-check.asciidoc   | 2 +-
>  Documentation/btrfs-man5.asciidoc    | 8 ++++----
>  cmds-subvolume.c                     | 2 +-
>  4 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/btrfs-balance.asciidoc b/Documentation/btrfs-balance.asciidoc
> index 7017bed7..536243bc 100644
> --- a/Documentation/btrfs-balance.asciidoc
> +++ b/Documentation/btrfs-balance.asciidoc
> @@ -204,7 +204,7 @@ The way balance operates, it usually needs to temporarily create a new block
>  group and move the old data there, before the old block group can be removed.
>  For that it needs the work space, otherwise it fails for ENOSPC reasons.
>  This is not the same ENOSPC as if the free space is exhausted. This refers to
> -the space on the level of block groups, which are bigger parts of the filesytem
> +the space on the level of block groups, which are bigger parts of the filesystem
>  that contain many file extents.
>  
>  The free work space can be calculated from the output of the *btrfs filesystem show*
> diff --git a/Documentation/btrfs-check.asciidoc b/Documentation/btrfs-check.asciidoc
> index cc76d846..b963eae5 100644
> --- a/Documentation/btrfs-check.asciidoc
> +++ b/Documentation/btrfs-check.asciidoc
> @@ -122,7 +122,7 @@ NOTE: 'lowmem' mode does not work with '--repair' yet, and is still considered
>  experimental.
>  
>  --force::
> -allow to work on a mounted filesystem. Note that this should work fine on a
> +allow work on a mounted filesystem. Note that this should work fine on a
Shouldn't we use the continuous aspect of the verb here, i.e.
s/work/working ? (I'm not a native speaker so take it with a grain of salt)


>  quiescent or read-only mounted filesystem but may crash if the device is
>  changed externally, eg. by the kernel module.  Repair without mount checks is
>  not supported right now.
> diff --git a/Documentation/btrfs-man5.asciidoc b/Documentation/btrfs-man5.asciidoc
> index b20abf05..0529496a 100644
> --- a/Documentation/btrfs-man5.asciidoc
> +++ b/Documentation/btrfs-man5.asciidoc
> @@ -210,7 +210,7 @@ system at that point.
>  Enable discarding of freed file blocks.  This is useful for SSD devices, thinly
>  provisioned LUNs, or virtual machine images; however, every storage layer must
>  support discard for it to work. if the backing device does not support
> -asynchronous queued TRIM, then this operation can severly degrade performance,
> +asynchronous queued TRIM, then this operation can severely degrade performance,
>  because a synchronous TRIM operation will be attempted instead. Queued TRIM
>  requires newer than SATA revision 3.1 chipsets and devices.
>  
> @@ -223,7 +223,7 @@ of actually discarding the blocks.
>  
>  If discarding is not necessary to be done at the block freeing time, there's
>  `fstrim`(8) tool that lets the filesystem discard all free blocks in a batch,
> -possibly not much interfering with other operations. Also, the the device may
> +possibly not much interfering with other operations. Also, the device may
>  ignore the TRIM command if the range is too small, so running the batch discard
>  can actually discard the blocks.
>  
> @@ -289,7 +289,7 @@ checksums don't fit inside a single page.
>  +
>  Don't use this option unless you really need it. The inode number limit
>  on 64bit system is 2^64^, which is practically enough for the whole filesystem
> -lifetime. Due to implemention of linux VFS layer, the inode numbers on 32bit
> +lifetime. Due to implementation of linux VFS layer, the inode numbers on 32bit
>  systems are only 32 bits wide. This lowers the limit significantly and makes
>  it possible to reach it. In such case, this mount option will help.
>  Alternatively, files with high inode numbers can be copied to a new subvolume
> @@ -415,7 +415,7 @@ will disable all SSD options.
>  
>  *subvol='path'*::
>  Mount subvolume from 'path' rather than the toplevel subvolume. The
> -'path' is always treated as relative to the the toplevel subvolume.
> +'path' is always treated as relative to the toplevel subvolume.
>  This mount option overrides the default subvolume set for the given filesystem.
>  
>  *subvolid='subvolid'*::
> diff --git a/cmds-subvolume.c b/cmds-subvolume.c
> index ba57eaa0..45363a5a 100644
> --- a/cmds-subvolume.c
> +++ b/cmds-subvolume.c
> @@ -338,7 +338,7 @@ again:
>  			error("unable to get fsid for '%s': %s",
>  				path, strerror(-res));
>  			error(
> -			"delete suceeded but commit may not be done in the end");
> +			"delete succeeded but commit may not be done in the end");
>  			ret = 1;
>  			goto out;
>  		}
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-progs: Fix typos in docs and user-facing strings
  2018-03-16  8:00   ` Nikolay Borisov
@ 2018-03-17 20:09     ` Nicholas D Steeves
  0 siblings, 0 replies; 5+ messages in thread
From: Nicholas D Steeves @ 2018-03-17 20:09 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 3847 bytes --]

Hi Nikolay,

Thank you for nit-picking, I'm definitely not above reproach and often
make errors--especially in my own writing!  Reply follows below.

On Fri, Mar 16, 2018 at 10:00:34AM +0200, Nikolay Borisov wrote:
> 
> 
> On 16.03.2018 02:39, Nicholas D Steeves wrote:
> > Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
> 
> 
> All look fine except one nit, see below.
> 
> > ---
> >  Documentation/btrfs-balance.asciidoc | 2 +-
> >  Documentation/btrfs-check.asciidoc   | 2 +-
> >  Documentation/btrfs-man5.asciidoc    | 8 ++++----
> >  cmds-subvolume.c                     | 2 +-
> >  4 files changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/Documentation/btrfs-balance.asciidoc b/Documentation/btrfs-balance.asciidoc
> > index 7017bed7..536243bc 100644
> > --- a/Documentation/btrfs-balance.asciidoc
> > +++ b/Documentation/btrfs-balance.asciidoc
> > @@ -204,7 +204,7 @@ The way balance operates, it usually needs to temporarily create a new block
> >  group and move the old data there, before the old block group can be removed.
> >  For that it needs the work space, otherwise it fails for ENOSPC reasons.
> >  This is not the same ENOSPC as if the free space is exhausted. This refers to
> > -the space on the level of block groups, which are bigger parts of the filesytem
> > +the space on the level of block groups, which are bigger parts of the filesystem
> >  that contain many file extents.
> >  
> >  The free work space can be calculated from the output of the *btrfs filesystem show*
> > diff --git a/Documentation/btrfs-check.asciidoc b/Documentation/btrfs-check.asciidoc
> > index cc76d846..b963eae5 100644
> > --- a/Documentation/btrfs-check.asciidoc
> > +++ b/Documentation/btrfs-check.asciidoc
> > @@ -122,7 +122,7 @@ NOTE: 'lowmem' mode does not work with '--repair' yet, and is still considered
> >  experimental.
> >  
> >  --force::
> > -allow to work on a mounted filesystem. Note that this should work fine on a
> > +allow work on a mounted filesystem. Note that this should work fine on a
> Shouldn't we use the continuous aspect of the verb here, i.e.
> s/work/working ? (I'm not a native speaker so take it with a grain of salt)

I'm not sure, but if the format is:
    "[implied subject] verb, other stuff", then:

[The --force argument] allows work on a mounted filesystem. [1]
  or alternatively:
                       allows operations on a mounted filesystem. [2]
  or
                       allows operations to work on a mounted filesystem. [3]

but if we're in imperative/declarative then:

                       [Allow] Work on a mounted filesystem. [4]
and not
                       [Allow] Working on a mounted filesystem. [5]

Because "Working on a mounted filesystem" [5] is a sentence fragment
(also see related discussing at [6] below).  I chose [4] because it
required the fewest changes ;-)

In "Allow work on a mounted filesystem" [4]

"Allow" is the verb and "work" is the object, but if "Allow" is
dropped and the phrase becomes "work on a mounted filesystem" then
"work" becomes the verb, using its identically spelled verb form. The
following is also grammatically correct if the rule is:

"(argument_name functioning as imperative verb), [participial phrase]"
eg:                    --force, allowing work on a mounted filesystem. [6]

but IIRC [6] is considered poor style for Science writing and
documentation--not to mention it also might make translation
difficult, and finally it breaks whenever --argument cannot function
as a verb.  It's also tricky to analyse ing-verbs to tell if they're
gerund or participial when dealing with the truncated grammatical
context that is conventional in manpages.

As ever, I might be wrong, but this is my reasoning :-)

Cheers,
Nicholas


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] btrfs-progs: Fix typos in docs and user-facing strings
  2018-03-16  0:39 ` [PATCH 1/1] " Nicholas D Steeves
  2018-03-16  8:00   ` Nikolay Borisov
@ 2018-03-19 18:28   ` David Sterba
  1 sibling, 0 replies; 5+ messages in thread
From: David Sterba @ 2018-03-19 18:28 UTC (permalink / raw)
  To: Nicholas D Steeves; +Cc: linux-btrfs

On Thu, Mar 15, 2018 at 08:39:09PM -0400, Nicholas D Steeves wrote:
> Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>

Thank you very much. I see the amount of typos is lower than the last time.
Patch applied cleanly, so no manual merging was necesssary.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-19 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16  0:39 [PATCH 0/1] btrfs-progs: Fix typos in docs and user-facing strings Nicholas D Steeves
2018-03-16  0:39 ` [PATCH 1/1] " Nicholas D Steeves
2018-03-16  8:00   ` Nikolay Borisov
2018-03-17 20:09     ` Nicholas D Steeves
2018-03-19 18:28   ` David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.