Class MacFileSystem

java.lang.Object
oshi.software.common.AbstractFileSystem
oshi.software.common.os.mac.MacFileSystem
All Implemented Interfaces:
FileSystem
Direct Known Subclasses:
MacFileSystemJNA

@ThreadSafe public abstract class MacFileSystem extends AbstractFileSystem
Common constants and configuration for macOS file system implementations.
  • Field Details

    • OSHI_MAC_FS_PATH_EXCLUDES

      public static final String OSHI_MAC_FS_PATH_EXCLUDES
      Configuration key for path excludes.
      See Also:
    • OSHI_MAC_FS_PATH_INCLUDES

      public static final String OSHI_MAC_FS_PATH_INCLUDES
      Configuration key for path includes.
      See Also:
    • OSHI_MAC_FS_VOLUME_EXCLUDES

      public static final String OSHI_MAC_FS_VOLUME_EXCLUDES
      Configuration key for volume excludes.
      See Also:
    • OSHI_MAC_FS_VOLUME_INCLUDES

      public static final String OSHI_MAC_FS_VOLUME_INCLUDES
      Configuration key for volume includes.
      See Also:
    • FS_PATH_EXCLUDES

      protected static final List<PathMatcher> FS_PATH_EXCLUDES
      File system path exclude matchers.
    • FS_PATH_INCLUDES

      protected static final List<PathMatcher> FS_PATH_INCLUDES
      File system path include matchers.
    • FS_VOLUME_EXCLUDES

      protected static final List<PathMatcher> FS_VOLUME_EXCLUDES
      File system volume exclude matchers.
    • FS_VOLUME_INCLUDES

      protected static final List<PathMatcher> FS_VOLUME_INCLUDES
      File system volume include matchers.
    • LOCAL_DISK

      protected static final Pattern LOCAL_DISK
      Pattern matching local disk device paths.
    • MNT_RDONLY

      protected static final int MNT_RDONLY
      Mount flag: read-only.
      See Also:
    • MNT_SYNCHRONOUS

      protected static final int MNT_SYNCHRONOUS
      Mount flag: synchronous.
      See Also:
    • MNT_NOEXEC

      protected static final int MNT_NOEXEC
      Mount flag: no exec.
      See Also:
    • MNT_NOSUID

      protected static final int MNT_NOSUID
      Mount flag: no setuid.
      See Also:
    • MNT_NODEV

      protected static final int MNT_NODEV
      Mount flag: no device access.
      See Also:
    • MNT_UNION

      protected static final int MNT_UNION
      Mount flag: union.
      See Also:
    • MNT_ASYNC

      protected static final int MNT_ASYNC
      Mount flag: asynchronous.
      See Also:
    • MNT_CPROTECT

      protected static final int MNT_CPROTECT
      Mount flag: content protection.
      See Also:
    • MNT_EXPORTED

      protected static final int MNT_EXPORTED
      Mount flag: exported.
      See Also:
    • MNT_QUARANTINE

      protected static final int MNT_QUARANTINE
      Mount flag: quarantined.
      See Also:
    • MNT_LOCAL

      protected static final int MNT_LOCAL
      Mount flag: local.
      See Also:
    • MNT_QUOTA

      protected static final int MNT_QUOTA
      Mount flag: quotas.
      See Also:
    • MNT_ROOTFS

      protected static final int MNT_ROOTFS
      Mount flag: root filesystem.
      See Also:
    • MNT_DOVOLFS

      protected static final int MNT_DOVOLFS
      Mount flag: volfs.
      See Also:
    • MNT_DONTBROWSE

      protected static final int MNT_DONTBROWSE
      Mount flag: don't browse.
      See Also:
    • MNT_IGNORE_OWNERSHIP

      protected static final int MNT_IGNORE_OWNERSHIP
      Mount flag: ignore ownership.
      See Also:
    • MNT_AUTOMOUNTED

      protected static final int MNT_AUTOMOUNTED
      Mount flag: automounted.
      See Also:
    • MNT_JOURNALED

      protected static final int MNT_JOURNALED
      Mount flag: journaled.
      See Also:
    • MNT_NOUSERXATTR

      protected static final int MNT_NOUSERXATTR
      Mount flag: no user extended attributes.
      See Also:
    • MNT_DEFWRITE

      protected static final int MNT_DEFWRITE
      Mount flag: deferred writes.
      See Also:
    • MNT_MULTILABEL

      protected static final int MNT_MULTILABEL
      Mount flag: multilabel MAC.
      See Also:
    • MNT_NOATIME

      protected static final int MNT_NOATIME
      Mount flag: no access time.
      See Also:
    • OPTIONS_MAP

      protected static final Map<Integer,String> OPTIONS_MAP
      Map of mount flags to option strings.
  • Constructor Details

    • MacFileSystem

      protected MacFileSystem()
      Default constructor.