RayViljoen / Raspberry-PI-SD-Installer-OS-X

Shell Script for creating Raspberry PI SD card on OS X.
311 stars 59 forks source link

2 minor changes added for extra safety #5

Open anupamsinghal opened 10 years ago

anupamsinghal commented 10 years ago

to prevent wiping out the root partition by mistake.

a) look at local mounts only with df -lh b) ignore the root mount with: grep -v '/$'