LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2010, 04:03 AM   #1
suryashikha
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Rep: Reputation: 0
commands to find type,mountPoint, file system id for the filesystems in a linux


hi
I need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
 
Old 01-12-2010, 04:09 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
take a look at
Code:
mount
 
Old 01-12-2010, 07:19 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Try these:

cat /proc/filesystems

cat /proc/mounts

Last edited by Aquarius_Girl; 01-12-2010 at 07:20 AM.
 
Old 01-13-2010, 08:00 AM   #4
anand.arumug
Member
 
Registered: Oct 2009
Location: Dayton, Ohio
Distribution: ubuntu, centos
Posts: 68
Blog Entries: 2

Rep: Reputation: 16
Quote:
Originally Posted by anishakaul View Post
Try these:

cat /proc/filesystems

cat /proc/mounts
Even

Code:
cat /etc/mtab
will give you the currently mounted file systems.
 
1 members found this post helpful.
Old 01-13-2010, 06:15 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,434

Rep: Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790Reputation: 2790
cat /etc/fstab

will give you the filesystems it tries to mount at boot time. For a different angle, try

fdisk -l

(lower L)
 
1 members found this post helpful.
  


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
c++ - how to find first file in directory in linux system babag Programming 4 05-23-2008 11:16 PM
varied output for linux df and du commands on same file system bzlaskar Linux - Newbie 1 12-11-2007 09:41 PM
how to find out file system type wabaha Linux - Newbie 3 10-25-2007 11:50 AM
How to find Mountpoint of a file system naveen Linux - General 4 05-23-2007 08:21 AM
What type of file system can windows xp and linux both write to? The reason why is b sent17inel Linux - Hardware 7 02-13-2007 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 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
Open Source Consulting | Domain Registration