file system info

Posted on 2006-05-15
Medium Priority
Last Modified: 2013-12-16
How can I figure out the following information on my Linux machine?

How many hard disks are in the machine? Are they IDE or SCSI disks? How many
partitions are there on the disk(s)? Where are home directories stored? Where is the /tmp directory stored?
Where is the /usr/local directory stored?
Question by:jlim95
  • 2
LVL 19

Expert Comment

ID: 16682447
fdisk -l should list most basic types (ide and basic SCSI) and will list their partition setup

Home directories should be check by looking at /etc/passwd.

As for the oter questions, I think you've already answered them yourself.....

Accepted Solution

devrick0 earned 200 total points
ID: 16686481
df -k

that will show you all mounted partitions, along with the total number of disks mounted, and what type (based on what their /dev/xxx name is).  The output will also tell you what partitions are mounted to what disks and on what slice of that particular disk.  
LVL 19

Expert Comment

ID: 16688563
bear in mind that it will only list the mounted partitions, if a filesystem is not mounted, it will not be shown.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question