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

"lfs find" support for fscrypt and other file attributes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.16.0
    • Lustre 2.15.2
    • None
    • 9223372036854775807

      Add support to "lfs find" to detect fscrypt files.

      It is not really clear that this fits into any of the existing search types, so a reasonable solution would be to add a new option like "[!] --attrs=[^]ATTR[,...]" argument that fetches the file attribute flags (FS_ENCRYPT_FL, FS_IMMUTABLE_FL, ...) that are already returned by statx() and then add logic to include/exclude files or directories with(out) those those attributes.

            sebastien Sebastien Buisson
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: