Re: [Hampshire] Safely unmounting a server's external hard d…

Top Page

Reply to this message
Author: John Cooper
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Safely unmounting a server's external hard drive
Chris Dennis wrote:
> John Cooper wrote:
>
> > Have a look at this USB suspend script:-
> >
> http://elliotli.blogspot.com/2009/01/safely-remove-usb-hard-drive-in-linux.html
>
> That all looks very elaborate. Is it really necessary? Does this mean
> that good old 'umount' hasn't been working for USB drives all this time?
>
> cheers
>
> Chris
>

No, umount works fine, but adding the suspend will tell you the drive
can be safely unplugged i.e. all writes have actually finished when
umount completes and it is then suspended. On a USB stick the light will
go out (this is what windows does).

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------