LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-10-2003, 09:28 PM   #1
sadiboyz
LQ Newbie
 
Registered: Apr 2003
Location: wollongong, australia
Distribution: red hat
Posts: 28

Rep: Reputation: 15
finding local fily system on a network


guys i need a bit of a help
I have been given a task to find out the following on a local file system: 1. the mount points
2. the actual raw partition which is mounted.
3. the total size of the partition
4. the free space on the partition
5. list the directories connected directly to the root file system.
6. which of these directories are not the local mount points.

HOW do i find the local fily system. I used the df -lk to find it out and i got the following information, is it right???

$df -lk
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1018382 242599 714681 26% /
/dev/dsk/c0t0d0s3 2055705 1121056 872978 57% /usr
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
swap 1852744 8 1852736 1% /var/run
/dev/dsk/c0t2d0s3 2030279 1734124 235247 89% /pkg3
/dev/dsk/c0t2d0s0 2030279 1285405 683966 66% /pkg2
/dev/dsk/c0t3d0s0 4124422 3244006 839172 80% /pkg1
/dev/dsk/c0t1d0s3 4338378 778445 3516550 19% /pkg5
/dev/dsk/c0t1d0s1 2055705 1544316 449718 78% /pkg4
/dev/dsk/c0t1d0s7 221653 91942 107546 47% /open
/dev/dsk/c0t0d0s5 493688 1524 442796 1% /spool
/dev/dsk/c0t0d0s7 1953189 1349914 544680 72% /spare0
/dev/dsk/c0t0d0s4 493688 44353 399967 10% /tmp
/dev/dsk/c0t0d0s6 493688 49615 394705 12% /local
/pkg1/turnin 4124422 3244006 839172 80% /packages/turnin
/pkg2/cs-pub 2030279 1285405 683966 66% /share/cs-pub

please help me out, Ciao
 
Old 08-10-2003, 11:14 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
The answers to questions 1 through 4 can be found in the output you posted from the df -lk command. If you don't understand the output then type in:
man df
for an explanation of how the df command works.

You can find the answer to question five by typing in this command:
ls -l /

The answer to question 6 is any directory that appears in the ls listing but does not appear in the df listing.
 
  


Reply


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
internet sharing on local network(with billing system) sensovision Linux - Networking 12 11-14-2004 05:43 PM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 12:03 PM
finding local IP address flynnhandley Linux - Software 2 10-08-2003 05:08 AM
Finding the Red Hat Network Icon to Update system scottpioso Linux - General 25 09-20-2003 11:55 PM
Finding Local network IP address. zaphanol Linux - Networking 9 07-25-2003 12:41 PM


All times are GMT -5. The time now is 06:30 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration