I notice that the comments in the function state "/dev/disk/by-label/xxx" where my mount point is at /dev/disk/by-label-main1. Thus with a '-' instead of a '/'.
The reason I want to make sure is that I have to reconfigure my programs (CrashPlan being the most difficult) to reflect the new mount points.