LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2007, 01:38 PM   #1
starkadder
Member
 
Registered: Jun 2007
Posts: 116

Rep: Reputation: 25
Question command to run defrag - ubuntu 6.06 lts?


I have defrag installed but I can't work out how to run it. Can anyone offer advice regarding the command needed?
 
Old 07-06-2007, 01:45 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try man defrag. It appears to only work on ext, ext2, minix, and xiafs though. You're probably not using any of those, I would guess.

Most linux filesystems don't require defragmentation because of the way they handle file allocation.
 
Old 07-06-2007, 02:22 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The employment of a swap partition is one of the main reasons that Linux partitions do not need to be defraged regularly, if ever at all.

Also as a Linux system partition does not need artificial protections/obstructions to prevent it from being moved or copied one can always write the files out and copy them back to squeeze all the empty spaces out.
 
Old 07-10-2007, 12:57 AM   #4
starkadder
Member
 
Registered: Jun 2007
Posts: 116

Original Poster
Rep: Reputation: 25
defrag run

Thank you for responding. I get conflicting advice about the need to defrag - I'm thinking about the scores of spam messages I delete (I have an "info" email address). I tried man "defrag" but in truth I don't know what to do with he resulting information - like many manuals it assumes a higher level of knowledge than some of it's readers have, I am new to all this and although I now prefer Ubuntu to windows I sometimes wish it was alittle more "idiot friendly"
A.
 
Old 07-10-2007, 01:32 AM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
You don't need to defrag in linux, and you could also look at the wonderful ubuntu wiki or google.com/linux
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu 6.06 LTS Inaccessible HD? deft Ubuntu 2 05-18-2007 09:43 AM
Ubuntu video drivers 6.06 LTS MikeRitter Ubuntu 3 10-05-2006 08:00 PM
Chossing ubuntu 6.06 LTS mohtasham1983 Linux - General 3 07-31-2006 03:34 PM
Dual Core on Ubuntu 6.06 LTS lnxmomo Linux - Software 5 06-30-2006 03:54 PM
Problem before installing Ubuntu 6.06 LTS habiblove Ubuntu 6 06-08-2006 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration