LinuxQuestions.org
Help answer threads with 0 replies.
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 02-23-2007, 03:42 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
how much free space I have?


How do I find out how much free space I have on my linux partition and also on the other partions as well.

Thanks
 
Old 02-23-2007, 03:46 PM   #2
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
du -ch
calculates the amount of disk space used in the current directory you are in
so if you're in / you type this it will calculate disk usage of all sub-directoryes also
and i think you know how large of a partition/disk drive you have...
if you want to see how many does your win32 partition take, then you've got to mount it to linux first
 
Old 02-23-2007, 04:09 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You can use the command ' du '. ' du -h ' is a more readable output. -h means human readable if you use the man command to research df.

Brian
 
Old 02-23-2007, 05:14 PM   #4
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
using df what is varlock, varrun, etc.. ? I remember I only made 3 partitions where did those come from? And are they seperate from the partition I have linux and when I installed linux, that section was repartitioned automatically? I would like to know some more info on this.

Thanks
 
Old 02-23-2007, 05:27 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
To see all of your partitions: fdisk -l

To see where they are mounted: more /etc/mtab

I don't know what this means:
Quote:
I remember I only made 3 partitions where did those come from?
Any partition that is not already mounted can be mounted and then you can look and see what is there.
 
Old 02-23-2007, 05:30 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You need to refer to /etc/fstab to see special mounted links.

Brian
 
Old 02-23-2007, 06:08 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Brian1
You need to refer to /etc/fstab to see special mounted links.

Brian
You lost me here.....
My simple view of the world:
fstab = instructions for what to mount where and whether to do it automatically

mtab = what is actually mounted

And what is a "special mounted link"?
 
  


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
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
"no space left on device" - But df shows free space! monita Linux - General 7 03-30-2004 01:14 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM

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

All times are GMT -5. The time now is 03:24 AM.

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