Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2010, 11:25 PM   #1
LQ Newbie
Registered: Jan 2010
Location: United States
Distribution: OpenSUSE
Posts: 2

Rep: Reputation: 0
directories, file systems, and mount points

How can you tell what directory is on what file system or mount point.

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.9G 2.7G 2.0G 59% /
/dev/sda1 99M 29M 65M 31% /boot
none 131M 0 131M 0% /dev/shm
/dev/sda2 2.0G 110M 1.8G 6% /var/log

bash-2.05b$ pwd

I see there is a file system /dev/sda3 mounted on '/' with 2GB available
But how do I know that /home/ccsmith is also on /dev/sda3. I can tell when I copy files and the available space on '/' shrinks in size.

I am looking for away to tell what mount point a directory is on before I copy files. I was copying files and filled up the file system because I did not understand what file system the directory belonged too.

Truely a newbie question right?

Old 04-30-2010, 12:13 AM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
df -h /home/ccsmith
Old 04-30-2010, 03:55 PM   #3
LQ Newbie
Registered: Jan 2010
Location: United States
Distribution: OpenSUSE
Posts: 2

Original Poster
Rep: Reputation: 0
Thumbs up forest in the way of the trees

Your compassion and understanding is a shining example for all.

Oh, and thanks.. I never would have thought to use a path after the df command.


df, directory, file, system

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
Rebuilt RAID array with old mount points present; file system check fails on boot... mvb187 Linux - Software 3 12-04-2009 09:38 AM
How to Mount bin and sbin directories as readonly mounted file systems Larry James Fedora 8 10-21-2008 12:40 PM
Mount points on 2 Linux systems chasegger Linux - Newbie 2 07-03-2008 03:26 PM
Partitioning: File systems and Mount points Ice Dragon Linux - Newbie 3 03-11-2004 04:00 PM
Mount Points In File System pankajtakawale Linux - Newbie 2 10-08-2003 11:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration