disk information

Posted on 2004-11-24
Last Modified: 2013-12-15
I want to know where in debian linux the information regarding the disks ( ie total disks, file systems, total space) is kept. I want to know the names of files.
Question by:svats10
    LVL 10

    Accepted Solution

    this informations are generated by appropriate tools such us:

    total disks,file systems:
    #fdisk -l
    total space:
    # df -h
    names of files:
    # ls <directory>
    all mounted filesystems :
    # mount
    LVL 38

    Assisted Solution


    Disk hadware information (how many disks, disk capacity/volume, disk cache/buffer, CHS):
    # dmesg | grep sector
    # cat /proc/ide/hda     <=== Support you have IDE (df -l will tell)
    There are more informat in /proc/ide/hda (or /proc/scsi for SCSI)

    LVL 2

    Expert Comment

    And let's not forget:

    (disk usage)
    # du -h
    LVL 14

    Expert Comment


    I suggest you look in the /proc filesystem

    cat /proc/partitions
    cat /proc/cpuinfo

    All the information you need is in that filesystem, if you specify your needs I can give you the files...

    (and point you to a good howto for the proc filesystem)



    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    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.

    734 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

    17 Experts available now in Live!

    Get 1:1 Help Now