Simplified extracting substrings from dev_part, moved all temp file creation
to /tmp/mount-extfs dir.