How do you check disk space?
How do you check your disk space from the command line on slack 11? I keep getting the error, 'no space left on device' when I try to make a pine mail folder.
|
In general: "df"
I doubt if Slackware is different |
Yup, and
df -m for how many megs of space left. That error sounds not pleasant! |
Quote:
:confused: :newbie: |
my way to track down wasted space is to go to the root directory of whatever partition is full and run "du -hx --max-depth=1" this will give you the size of each subdirectory from where you currently are. if you think one of them is disproportianately (SP!!?!) big, cd to that directory and run the command again. this should help you track down any massive log files or something. if you simply have a very small partition you've put far too much stuff in, that's a different sort of problem though, and one that may well need major surgery.
|
I installed on a 4 gig drive, with some of it for swap space. I removed some things and now Im going to re-boot and hope it still works. If I dont make it back, it was nice knowing you guys.
|
I run Ubuntu (full Gnome) in under 4 Gig - including swap.
If you can't get Slack shoe-horned in, something's wrong. When I tried Slack I used swaret, and it was a pig re disk space - I would have thought pgktool should be better in that regard. |
Yaaaay, I made it back and it's semi honed in. I have over 750 M free space, but I lost a couple things. When I type 'mail' at the command prompt it says bash cant find it. I'll fix it as soon as I figure out how. Firefox is gone too, so I gotta fix that. Im sure I'll find other things missing. For every problem I fix, I create 5 more.
|
df -h give you the space in MB, but general df commands, type in df --help to get a list of the commands
|
Just for interests sake, the command 'mail' from the command line in slackware 11 comes from the package mailx. mail is cool, I set up fetchmail's daemon to fetch my mail and I just type 'mail' to see if I got any letters. Firefox and seamonky need the pang deal with libpangoxft to run.
|
Also try running/installing "localepurge" to remove any unused man pages.
|
All times are GMT -5. The time now is 01:09 PM. |