Jon Nelson on 24 Apr 2005 23:29:50 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] USB Mass storage question


Doug Crompton said:
> I have an external USB mass storage drive running under SUSE 7.3 (an ATA
> drive in an external USB box).
>
> What is the correct way to disconnect this drive. When I unmount
> everything and shutdown the power I get a kernel message that it lost the
> controller and something about that being "very bad."

I was recently working on getting my iPod connected to a Debian box and
was having similar problems.  I believe the solution to your problem is
using the 'eject' command.  As far as I know even if you mount the drive
as a user it has to be ejected as root.  I would suggest creating a sudo
command alias for 'eject'.  Then you should be able to:

    $sudo eject /usb_mnt_point

or:

    $sudo eject /dev/sda1 (or whatever it is)

According to the man page this also unmounts it and it works for me.

Jon

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug