Revisited: Re: [CentOS] Can't unmount floppy

Robert Moskowitz

rgm at htt-consult.com
Tue May 31 15:27:18 UTC 2005


Having the problem again, but I am getting smarter.

after I do the fuser -m /media/floopy

I do a ps xjaf

I find out that the process that seems to be holding onto the floppy is:

/usr/libexec/gam_server

This time, killing that process lets me umount the floppy.

This has happened twice to me today.

At 08:41 AM 5/25/2005, fluid wrote:
>Robert Moskowitz wrote:
>
> > At 08:26 AM 5/25/2005, fluid wrote:
> >
> >> most of the gui file managers will leave devices open by some process.
> >>
> >> use the fuser command to determine what process id you can kill to be
> >> able to unmount your device :)
> >
> >
> >
> > I am not really familar with these commands (maybe why I use the
> > GUI!).  I just spent one year on Unix, Solaris 3 ii '93....
> >
> > I did a man fuser then tried:
> >
> > fuser /media/floppy
> >
> > and got an empty list back.
> >
> >
> >
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>if that is where your device is mounted, then its not currently mounted. ;)
>
>beyond that, you need to open a terminal, stick in a floppy, and do:
>
>mount /media/floppy
>
>when you are done, make sure every program that was opened and in that
>path are now closed, and issue:
>
>umount /media/floppy
>
>if its busy when you try and umount, then use fuser to figure out whats
>got it, and use 'kill' to shut down those processes. those filemanagers
>will leave paths open for no real reason (except stat'ing it, or
>watching for new file objects)
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos





More information about the CentOS mailing list