atomic symlink switch

safe, atomic symlink switch.