ejecting the mountpoint will also work. umounting will not.
Example:
sudo mount /dev/sde1 /mnt/tmp
eject /mnt/tmp
AJ ONeal
On Fri, Jan 28, 2011 at 2:06 PM, Charles Curley <
[email protected]> wrote:
> If you wanted to power down a USB drive from a shell script... Once upon
> a time it was sdparm. Then it was devkit-disk. What is it this week?
>
> --
>
> Charles Curley /"\ ASCII Ribbon Campaign
> Looking for fine software \ / Respect for open standards
> and/or writing? X No HTML/RTF in email
> http://www.charlescurley.com / \ No M$ Word docs in email
>
> Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/