Skip to content

v2.4.0: Universal Mount Automation & Self-Healing APFS Recovery

Latest

Choose a tag to compare

@yuanweize yuanweize released this 23 Sep 07:00
· 5 commits to main since this release
5f13e4f

Overview

LazyMount-Mac v2.4.0 provides automated mounting and recovery for SMB shares, APFS sparsebundles, and Rclone-managed cloud remotes on macOS.

Key Capabilities

  • Launchd Login Automation: Integrates with macOS LaunchAgent (com.lazymount.plist) to trigger automated mounting upon user login.
  • APFS Sparsebundle Auto-Recovery: Monitors mounted APFS sparsebundle health in the background. Detects unresponsive volumes (such as those caused by transient network interruptions or ungraceful disconnection) and attempts unmount and re-attach.
  • Optimized Attach Flags: Uses -noverify and -noautofsck options with hdiutil to minimize attach delays over network storage.
  • Network Reachability Gate: Verifies target network or Tailscale IP reachability via ICMP checks before attempting mounts, avoiding hanging mount commands when offline.
  • Self-Update Support: Checks and updates mount_manager.sh from the repository main branch when enabled in configuration.
  • Repository Governance: Includes standard SECURITY.md, CONTRIBUTING.md, structured GitHub Issue Forms, and automated ShellCheck CI.

Quick Start

# 1. Clone repository
git clone https://github.com/yuanweize/LazyMount-Mac.git ~/.lazymount
cd ~/.lazymount

# 2. Copy and customize configuration
cp mount_manager.example.local.sh mount_manager.local.sh
chmod +x mount_manager.sh

# 3. Install Launchd agent (optional, for login automation)
cp com.lazymount.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.lazymount.plist