Vikram’s Link & Photo Blog

Icon

Because he loves to shoot first…

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

Working on Haitian Creole MT engineProfileUncle and Li'l TerrorprofilepicIMG_4902IMG_4894

Translate

 

Now Reading

Planned books:

Current books:

  • Summerland

    Summerland by Michael Chabon

  • The Wisdom of Crowds

    The Wisdom of Crowds by James Surowiecki

Recent books:

None

View full Library