Apple - Permanently change mount point of volume?
Set an entry in /etc/fstab
as directed here. To summarize.
Open Disk Utility, unmount the relevant volume.
Click on the volume you're trying to mount, and click the "info" button. Note down the drive's File System UUID, which should look something like
5E85BA88-7C74-34A9-8CE6-267C752CE2BA
. I'm just gonna use123abc
as shorthand for it.Open upEdit: as per klanomath's comment below, run/etc/fstab
using your text editor of choice (run it as root!)sudo vifs
to safely editetc/fstab
, and add the following line.UUID=123abc /desired/mount/path hfs rw 0 2
Mount the volume, the mount point should show the path you specified.
Some notes:
I have absolutely no clue what the "1 2" does at the end of that line. It was there in the link, so I kept it.Thanks to fd0 for helping me out here!The page I linked instructs you to reload
/etc/fstab
using someniload
command. I couldn't figure out how to install whatever package that required, but the good news is that I think DiskUtility will automatically reload the file, so don't worry about that.Some sources will tell you to reload
etc/fstab
using the commandmount -a
. It seems like this should be a perfectly sensible way to do so, but it does not work. Don't worry if it tells you it can't mount a volume.