LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02:38 PM   #1
starkadder
Member
 
Registered: Jun 2007
Posts: 80

Rep: Reputation: 15
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, 02:45 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 03: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: 112Reputation: 112
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, 01:57 AM   #4
starkadder
Member
 
Registered: Jun 2007
Posts: 80

Original Poster
Rep: Reputation: 15
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, 02: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:43 AM
Ubuntu video drivers 6.06 LTS MikeRitter Ubuntu 3 10-05-2006 09:00 PM
Chossing ubuntu 6.06 LTS mohtasham1983 Linux - General 3 07-31-2006 04:34 PM
Dual Core on Ubuntu 6.06 LTS lnxmomo Linux - Software 5 06-30-2006 04:54 PM
Problem before installing Ubuntu 6.06 LTS habiblove Ubuntu 6 06-08-2006 07:28 PM


All times are GMT -5. The time now is 03:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration