file system info

Posted on 2006-05-15
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
    LVL 19

    Expert Comment

    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.....
    LVL 5

    Accepted Solution

    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

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    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.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now