Long lines split manually with newlines instead of using fmt for portability
Only check for sudo's $PATH having /usr/local/bin if sudo is found on the system
Only ignore devices that don't look like they have partition tables IF they are loop devices