View Single Post
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#4
Originally Posted by fragos View Post
Lastly you can clean things up a bit from the command line. Install sudser to get "sudo". In a terminal run "sudo apt-get autoremove" to remove any installed but no longer rtequired packages. Then run "sudo apt-get autoclean' which will erase old archive files. This works for me without having to enable virtual swap memory.
Thanks. I didn't know about those, and I like to keep a "clean machine." I just ran those, they got rid of some stuff, and at least I can say nothing is broken so far!

Is there anything similar for

(a) generally maintaining system happiness (like RegClean on WinXP/Win2000)?

(b) defragmenting the drive? (I think it's when I run fsck on the SD card on which I have a system, but from a Device Memory boot, it tells me something like "0.7% non-contiguous")

(c) Is there a way to run something like fsck on the Device Memory? What I do for the SD card (on which I have the system I usually run) is enter, as root,

fsck -fy /dev/mmcblk0p2

-- but I do this when I've booted from the Device Memory, not from the SD card. So, is there an equivalent way to keep the Device Memory happy?