linux check mounted filesystem code example Example: linux find where file is mounted df -Ph $filename