<DIV>Hi Peter</DIV>
<DIV> </DIV>
<DIV>I'll have a go with your approach as well. I presume fuser is an application?? </DIV>
<DIV> </DIV>
<DIV>All the LUG contributions are helping me get to grips with the command line work. I have got hold of O'Reilly's Linux in a Nutshell so I am hoping with your help I can get to speed with things. :-)</DIV>
<DIV> </DIV>
<DIV>Mo<BR><BR><B><I>Peter Oliver <p.d.oliver@mavit.freeserve.co.uk></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Sat, 20 Dec 2003, David Goodwin wrote:<BR><BR>> > There is more choice from what you say but I am not familiar with the<BR>> > terms yet except ext2 which I know now because I just had a go at<BR>> > formating a floppy using KDE (using the live cd). How do I "KILL" a still<BR>> > busy floppy? because after I completed the formatting the floppy drive<BR>> > just stayed busy and everytime I tried to access it I got not accessible<BR>> > or error messages. I know I need to use the 'kill' command but I am not<BR>> > sure how, does this sound right<BR>> <BR>> Try something like :<BR>> <BR>> lsof | grep floppy<BR>> <BR>> or<BR>> <BR>> lsof | grep fd0<BR>> <BR>> that should list any processes accessing the floppy disk. From the pid<BR>> given you can then attempt to kill them. (man lsof may give more help
than<BR>> me).<BR>> <BR>> Firstly try a normal "kill" e.g.<BR>> <BR>> kill 543<BR>> <BR>> if that fails to kill it off after a few seconds, try a<BR>> <BR>> kill -9 543<BR>> <BR>> (543 == pid)<BR>> <BR>> if that doesn't work then something is blocking it.... and the only way to<BR>> stop it is probably a reboot, if you can't figure out what's going on.<BR><BR>Assuming that David knows KDE better than me and has correctly diagnosed<BR>your problem, you can roll this all up into one command with fuser. If<BR>your floppy is mounted on /mnt/floppy,<BR><BR>fuser -m /mnt/floppy -k -TERM # ask nicely for programs to exit<BR>fuser -m /mnt/floppy -k -KILL # make programs die messily<BR><BR>-- <BR>Peter Oliver<BR><BR>_______________________________________________<BR>Wolves LUG mailing list<BR>Homepage: http://www.wolveslug.org.uk/<BR>Mailing list: Wolves@mailman.lug.org.uk<BR>Mailing list home:
http://mailman.lug.org.uk/mailman/listinfo/wolves</BLOCKQUOTE><p><hr size=1><font face="Arial" size="2"> <a href="http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.com"><b>
Yahoo! Messenger</b></a> - Communicate instantly..."Ping" your friends
today! <a href="http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.com/download/index.html"><strong>Download Messenger Now</strong></a></font>