cvs commit: src/bin/chflags chflags.1 chflags.c

Robert Watson rwatson at
Sun Mar 16 11:54:54 PDT 2008

rwatson     2008-03-16 18:54:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    bin/chflags          chflags.1 chflags.c 
  Merge chflags.1:1.30, chflags.c:1.24 from HEAD to RELENG_7:
    Make chflags(1) more chmod(1)-like (and more feature complete):
    - Add -v to print file names as they are processed; -vv prints the flags
      change as well.
    - Add -f to ignore failures with the same semantics as chflags(1), neither
      printing an error nor affecting the return code.
    - Don't try to set the flags if they won't change.
    I made minor cosmetic tweaks to the code in the patch.
    PR:             112827
    Submitted by:   Ighighi <ighighi at>
  Revision   Changes    Path   +15 -1     src/bin/chflags/chflags.1  +28 -16    src/bin/chflags/chflags.c

More information about the cvs-src mailing list