check environment before copying over fstab