Whamcloud - gitweb
po: describe more precisely the %B expansion
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 4 Jun 2014 01:59:31 +0000 (21:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jun 2014 01:59:31 +0000 (21:59 -0400)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
po/at-expand.pl

index d4427b5..bc1a744 100644 (file)
@@ -21,10 +21,13 @@ my @translator_help = (
  "#. on.  A table of these expansions can be found below.  Note that\n",
  "#. %-expressions that begin with \"%D\" and \"%I\" are two-character\n",
  "#. expansions; so for example, \"%Iu\" expands to the inode's user id\n",
- "#. ownership field (inode->i_uid).\n",
+ "#. ownership field (inode->i_uid).  Also the \"%B\" expansion is special:\n",
+ "#. it can expand to either the string \"indirect block\" (possibly preceded\n",
+ "#. by the word \"double\" or \"triple\"), or the string \"block #\" immediately\n",
+ "#. followed by an integer indicating a block sequence number.\n",
  "#.  \n",
  "#.   %b      <blk>                   block number\n",
- "#.   %B      <blkcount>              integer\n",
+ "#.   %B      \"indirect block\" | \"block #\"<blkcount>      string | string+integer\n",
  "#.   %c      <blk2>                  block number\n",
  "#.   %Di     <dirent> -> ino         inode number\n",
  "#.   %Dn     <dirent> -> name        string\n",