Vikram's Web Archive

Icon

Since interestingness isn't a search option…

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]

Category: Mac

Tagged:

Comments are closed.

Photo Stream

AngelsLandingHDIMG_1435IMG_1503IMG_1142c2IMG_1132IMG_1133

Translate

 

Library

Speaker for the Dead
To Kill a Mockingbird
Leviathan Wakes
Caliban's War
Hyperion
Revelation Space
Ender's Game
Dune
On Basilisk Station
Old Man's War
Shards of Honour
The Warrior's Apprentice
The Fall of Hyperion
The Rise of Endymion
Endymion

 

Now Reading

Planned books:

Current books:

  • The Wisdom of Crowds

    The Wisdom of Crowds by James Surowiecki

Recent books:

None

View full Library