Skip to content

Instantly share code, notes, and snippets.

View tstellanova's full-sized avatar
💭
growing excited

Todd Stellanova tstellanova

💭
growing excited
View GitHub Profile
@bitbank2
bitbank2 / main.c
Last active April 28, 2021 06:07
C Optimization demo project
//
// main.c
// perf_demo
//
// Created by Laurence Bank on 3/24/21.
//
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@rudelm
rudelm / autofs.md
Last active September 7, 2024 16:54
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file /etc/auto_master and add the last line:

#
# Automounter master map
#

+auto_master # Use directory service