potatoqualitee / blog-comments

Github Issue-Based Commenting with utterances
0 stars 0 forks source link

Mounting NAS Volumes in Mac OS X the Right Way #11

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Mounting NAS Volumes in Mac OS X the Right Way | netnerds.net

I've been using Mac OS X for a while now, but upgraded to a 13-inch Macbook Pro Retina about a year ago. I love having access to the command line and I just RDP …

https://blog.netnerds.net/2013/10/mounting-nas-volumes-in-mac-os-x-the-right-way/

CaptClaude commented 2 years ago

Based on the fact that you have a post from June of 2022, you might still be active here... Tried this on 10.14.6 and it worked although the :w in vi now needs to be :w! even with sudo. I think I understand the underlying mechanism and like it for what it might do for my use case, but I'm curious if there is a way to unmount a connection that is established in auto_afp? I can delete the entry to auto_afp that I placed in auto_master and reboot, but is there a less difficult method that does not require editing a system file and a reboot? Thanks! PS: The use case is connecting my TrueNAS volumes to the iMac that gets backed up to Backblaze. I went through the normal process of adding the shares to the list of login items and they get "mounted" but they do not show up in the sidebar which makes them quicker to access.

CaptClaude commented 2 years ago

Hmmm... This works when you run sudo automount -vc but not when you reboot. Perhaps automount does not run automatically? Perhaps there have been some changes in how things work since 2013 (shocked, right?).

potatoqualitee commented 2 years ago

haha yeah, sorry @CaptClaude -- Apple changes a surprising amount of things and I have no idea how this works now.

CaptClaude commented 2 years ago

Well it was a fun exercise. Fortunately it's an easy thing to roll back out so I can try another way. Another thing about the automount system is that if an automounted drive is not accessed for 10 minutes, it is auto-unmounted. Live and learn!