[Wolves] defrag

david nux at blueyonder.co.uk
Sun Dec 21 10:20:38 GMT 2003


It's worth having a look on your Linux cd's for an rpm 
called "rute". This is the Beginners Guide to Linux and has 
enough material to get you to Junior Linux Sys Admin level (if you work through the whole thing.)
It's set out in reasonably easy to understand sections.

just in case you haven't discovered it yet. http://www.linuxquestions.org
many forums, all linux related, 1000's of members, 10's of 1000's of posts. You'll need to join, if you want to post questions, but the database of past posts is searchable and readable by anyone.
I've had answers within minutes from here in the past (not all the time, occasionally some questions get missed).

Google is great for linux searches. You can type in whole error messages or file names and the results are usually extensive.

great site, huge download section and links to all sorts of linux resources

most of these have helped and continue to help
there are MANY others


On Sun, 21 Dec 2003 08:23:40 +0000 (GMT)
Mo Awkati <mawkati at yahoo.co.uk> wrote:

> Hi Peter
> I'll have a go with your approach as well. I presume fuser is an application?? 
> 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. :-)
> Mo
> Peter Oliver <p.d.oliver at mavit.freeserve.co.uk> wrote:
> On Sat, 20 Dec 2003, David Goodwin wrote:
> > > There is more choice from what you say but I am not familiar with the
> > > terms yet except ext2 which I know now because I just had a go at
> > > formating a floppy using KDE (using the live cd). How do I "KILL" a still
> > > busy floppy? because after I completed the formatting the floppy drive
> > > just stayed busy and everytime I tried to access it I got not accessible
> > > or error messages. I know I need to use the 'kill' command but I am not
> > > sure how, does this sound right
> > 
> > Try something like :
> > 
> > lsof | grep floppy
> > 
> > or
> > 
> > lsof | grep fd0
> > 
> > that should list any processes accessing the floppy disk. From the pid
> > given you can then attempt to kill them. (man lsof may give more help than
> > me).
> > 
> > Firstly try a normal "kill" e.g.
> > 
> > kill 543
> > 
> > if that fails to kill it off after a few seconds, try a
> > 
> > kill -9 543
> > 
> > (543 == pid)
> > 
> > if that doesn't work then something is blocking it.... and the only way to
> > stop it is probably a reboot, if you can't figure out what's going on.
> Assuming that David knows KDE better than me and has correctly diagnosed
> your problem, you can roll this all up into one command with fuser. If
> your floppy is mounted on /mnt/floppy,
> fuser -m /mnt/floppy -k -TERM # ask nicely for programs to exit
> fuser -m /mnt/floppy -k -KILL # make programs die messily
> -- 
> Peter Oliver
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves
> ---------------------------------
>   Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

More information about the Wolves mailing list