Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix various typos, spelling and grammar errors

Most of the fixed errors are in comments, but a few are in
messages from the system or build files.

Some examples:

- MogileFS.pm provides a the perl client for the MogileFS application-level
+ MogileFS.pm provides a perl client for the MogileFS application-level

-    ABSTRACT                => 'Plugin for mogilefs server represending a UNIX like filesystem on top of mogilefs.',
+    ABSTRACT                => 'Plugin for mogilefs server representing a UNIX like filesystem on top of mogilefs.',

-        des => "Comma-seperated list of filenames to load when a user visits a directory URL, listed in order of preference.",
+        des => "Comma-separated list of filenames to load when a user visits a directory URL, listed in order of preference.",

-                    "--weight=i" => "Postive numeric weight for device",
+                    "--weight=i" => "Positive numeric weight for device",

And so on...

Signed-off-by: Nick Andrew <nick@nick-andrew.net>

git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1198 f67b2e87-0811-0410-a7e0-dd94e48410d6
  • Loading branch information...
commit 6d4b891e6b6caa4d4c71ac782af92a5b2113a17d 1 parent 5843744
nickandrew authored
Showing with 15 additions and 15 deletions.
  1. +2 −2 debian/control
  2. +5 −5 mogadm
  3. +8 −8 mogtool
View
4 debian/control
@@ -8,6 +8,6 @@ Standards-Version: 3.6.1.0
Package: mogilefs-utils
Architecture: all
Depends: ${perl:Depends}, libcompress-zlib-perl, libwww-perl, libmogilefs-perl
-Description: utilities to manipulate mogileFS filesystems
+Description: utilities to manipulate MogileFS filesystems
The mogilefs-utils package contains tools to administrate and work with the
- mogileFS filesystem from Danga Interactive.
+ MogileFS filesystem from Danga Interactive.
View
10 mogadm
@@ -112,13 +112,13 @@ my $usage = {
},
},
modify => {
- des => "Modify a device's propereties.",
+ des => "Modify a device's properties.",
args => "<hostname> <devid> [opts]",
opts => {
"<hostname>" => "Hostname of device",
"<devid>" => "Numeric devid to modify.",
"--status=s" => "One of {alive,dead,down,drain,readonly}",
- "--weight=i" => "Postive numeric weight for device",
+ "--weight=i" => "Positive numeric weight for device",
},
},
},
@@ -157,7 +157,7 @@ my $usage = {
opts => {
"<domain>" => "Domain to add class to.",
"<class>" => "Name of class to add.",
- "--mindevcount=i" => "Mininum number of replicas.",
+ "--mindevcount=i" => "Minimum number of replicas.",
},
},
modify => {
@@ -166,7 +166,7 @@ my $usage = {
opts => {
"<domain>" => "Domain to add class to.",
"<class>" => "Name of class to add.",
- "--mindevcount=i" => "Mininum number of replicas.",
+ "--mindevcount=i" => "Minimum number of replicas.",
},
},
delete => {
@@ -1447,7 +1447,7 @@ check every fid, you must call B<fsck reset> before calling start.
Show the status of the presently active (or last if none active) fsck. This
includes what FIDs are being checked, time statistics, check type as well as a
-summary of problems encounted so far.
+summary of problems encountered so far.
=item B<fsck stop>
View
16 mogtool
@@ -280,7 +280,7 @@ Specifies the key of the file to locate
=item 0
-Sucess during operation.
+Success during operation.
=item 1
@@ -288,7 +288,7 @@ During the locate, list, or listkey operation, the key was not found.
=item 2
-Some fatal error occured.
+Some fatal error occurred.
=back
@@ -1169,7 +1169,7 @@ sub extract {
}
}
- # several cases.. going to stdout?
+ # several cases.. going to STDOUT?
if ($dest eq '-') {
*O = *STDOUT;
} else {
@@ -1182,7 +1182,7 @@ sub extract {
$dest =~ s!^(.+)/!!;
}
if (-b $dest) {
- # if we're targetting a block device...
+ # if we're targeting a block device...
warn "FIXME: add in block checking\n";
open O, ">$dest"
or die "Couldn't open $dest: $!\n";
@@ -1238,7 +1238,7 @@ sub extract {
# now make sure we have enough data
#$ mogtool [opts] extract <key> {<file>,<dir>,<device>}
- #=> - (for stdout) (if compressed, add "z" flag)
+ #=> - (for STDOUT) (if compressed, add "z" flag)
#=> . (to untar) (if compressed, do nothing???, make .tar.gz file -- unless they use -z again?)
#=> /dev/sda4 (but check /proc/partitions that it's big enough) (if compress, Compress::Zlib to ungzip
# => foo.jpg (write it to a file)
@@ -1257,7 +1257,7 @@ sub locate {
my $dkey = $key;
$dkey = "_big_info:$key" if $opts{big};
- # list all pathes for the file
+ # list all paths for the file
my $ct = 0;
my @paths = [];
my @paths = grep { defined $_ } $mogfs->get_paths($dkey, $opts{verify} );
@@ -1302,7 +1302,7 @@ sub listkey {
my $key_pattern = shift(@ARGV);
abortWithUsage("key pattern required") unless $key_pattern;
- # list all files matchine a key
+ # list all files matching a key
my ($ct, $after, $list);
$ct = 0;
while (($after, $list) = $mogfs->list_keys("$key_pattern", $after)) {
@@ -1416,7 +1416,7 @@ Valid i-opts:
$ mogtool [opts] extract <key> {<file>,<dir>,<device>}
- => - (for stdout) (if compressed, add "z" flag)
+ => - (for STDOUT) (if compressed, add "z" flag)
=> . (to untar) (if compressed, do nothing???, make .tar.gz file -- unless they use -z again?)
=> /dev/sda4 (but check /proc/partitions that it's big enough) (if compress, Compress::Zlib to ungzip)
=> foo.jpg (write it to a file)
Please sign in to comment.
Something went wrong with that request. Please try again.