Jul 27, 2008
Trevor’s Bike Shed » Blog Archive » A set of scripts to unmount drives before sleeping
Trevor’s Bike Shed » Blog Archive » A set of scripts to unmount drives before sleeping
There’s only one problem: Unplugging a hard drive can corrupt its filesystem if it’s still mounted. To prevent that from happening, I wrote a script that automatically unmounts all drives. As an added bonus, the script fails if any of those drives are busy and can’t be unmounted, warning me to take additional action before hitting the road.
[From: Trevor's Bike Shed » Blog Archive » A set of scripts to unmount drives before sleeping]








Recent Comments