add code for genfstab