i was wondering what is the linux equivalent of windows `scandisk` and `defrag`. i know there is something called `fsck`, or in my case `ef2sck`; but all the documentation that i found says that the program must run in an unmounted file system.
my doubt is, if i keep my machine running for a long time, i can`t execute that program, right? or is there a way of running it?
also, what about a defragmentor for linux? is there any, what is it named? is there any restriction to its execution as in `fsck`?
thank you very much.