Find the answer to your Linux question:
Results 1 to 3 of 3
I have used the df command to get the partitions of the system and the usage of the same.. but is there a command which can give me the file ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    24

    Finding file system type


    I have used the df command to get the partitions of the system and the usage of the same.. but is there a command which can give me the file system type along with the information given by df. If there is no command is there a configuraton file that ic an use to extract information ?? I amusing Red Hat linux 9.0 (Shrike)
    eg.. if df gives
    /dev/hda1 mem used free etc..
    i want to know whether the file system type is ext2 ext3 swap or any other kinda partiton.. i also do not get info of drives like cdrom floppy etc and want to obtain the same.. what shud i do ?

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2005
    Location
    Hell
    Posts
    514
    Code:
    mount
    tells you info about filesystems that are mounted

    The info that tells the system how to mount stuff is in /etc/fstab

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    mount simply prints out the information in the /etc/mtab file. You can check that file for a hardcopy on the system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •