Standalone script to find root partition