Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16561

allow 'lfs find -printf' field widths

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.16.0
    • 9223372036854775807

    Description

      For implementing "lfs find -ls" it would be useful to allow specifying the field width for the "%x" operators, rather than forcing the use of a full tabstop with "\t" (which is often too large a field width and doesn't always work properly).  Something like "%12s" to have the file size printed with 12-char fields (leading space) or "%06U" to have the file UID printed with leading zeroes.

      Attachments

        Issue Links

          Activity

            People

              courrier Guillaume Courrier
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: