How to know if a volume is mounted with ACL enabled

Discussion in 'Mac Programming' started by info1686, Apr 6, 2009.

  1. macrumors newbie

    Hello All,
    I need to identify programatically information about a volume, its type flags. I can get this information using statfs() function. But how do I know if a volume is mounted with ACL's enabled?

  2. Moderator emeritus


    I would look at 'man acl' - that documents the API.
  3. macrumors newbie

    That is not giving me any useful information. Does getmntinfo() or statfs() provide this option?
  4. macrumors demi-god


    The CLI command fsaclctl, when invoked without any options, will print the status of ACLs on the specified volume. I don't know how to invoke this from a program (other than a shell script), though.

Share This Page