Преглед изворни кода

Fix ping, zfs and zpool to match current style guide.

Peter Tripp пре 9 година
родитељ
комит
c6635ec815
3 измењених фајлова са 16 додато и 18 уклоњено
  1. 4 4
      pages/common/ping.md
  2. 5 5
      pages/common/zfs.md
  3. 7 9
      pages/common/zpool.md

+ 4 - 4
pages/common/ping.md

@@ -6,13 +6,13 @@
 
 `ping {{host}}`
 
-- Ping host limiting the number of packages to be send to four:
+- Ping a host only a specific number of times:
 
-`ping -c 4 {{host}}`
+`ping -c {{count}} {{host}}`
 
-- Ping host, waiting for 0.5 s between each request (default is 1 s):
+- Ping host, specifying the interval in seconds between requests (default is 1 second):
 
-`ping -i 0.5 {{host}}`
+`ping -i {{seconds}} {{host}}`
 
 - Ping host without trying to lookup symbolic names for addresses:
 

+ 5 - 5
pages/common/zfs.md

@@ -8,20 +8,20 @@
 
 - Create a new ZFS filesystem:
 
-`zfs create poolname/newfsname`
+`zfs create {{pool_name/filesystem_name}}`
 
 - Delete a ZFS filesystem:
 
-`zfs destroy {{poolname/newfsname}}`
+`zfs destroy {{pool_name/filesystem_name}}`
 
 - Create a Snapshot of a ZFS filesystem:
 
-`zfs snapshot {{poolname/filesystem@snapshot-name}}`
+`zfs snapshot {{pool_name/filesystem_name}}@{{snapshot_name}}`
 
 - Enable compression on a filesystem:
 
-`zfs set compression=on {{poolname/fileystem}}`
+`zfs set compression=on {{pool_name/filesystem_name}}`
 
 - Change mountpoint for a filesytem:
 
-`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}`
+`zfs set mountpoint={{/my/mount/path}} {{pool_name/filesystem_name}}`

+ 7 - 9
pages/common/zpool.md

@@ -4,30 +4,28 @@
 
 - Show the configuration and status of all ZFS zpools:
 
-`zpool status [{{poolname}}]`
+`zpool status`
 
 - Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive:
 
-`zpool scrub {{poolname}}`
+`zpool scrub {{pool_name}}`
 
 - List zpools available for import:
 
 `zpool import`
 
-- Import a zpool, optionally specifying a new name:
+- Import a zpool:
 
-`zpool import {{poolname}}`
-`zpool import {{poolname}} {{newpoolname}}`
+`zpool import {{pool_name}}`
 
 - Export a zpool (unmount all filesystems):
 
-`zpool export {{poolname}}`
+`zpool export {{pool_name}}`
 
 - Show the history of all pool operations:
 
-`zpool histrory {{poolname}}`
+`zpool histrory {{pool_name}}`
 
 - Create a mirrored pool:
 
-`zpool create {{poolname}} mirror {{disk1}} {{disk2}}`
-`zpool create {{poolname}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`
+`zpool create {{pool_name}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`