add btrfs detect funtion