LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-20-2013, 04:12 AM   #1
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Xubuntu, Manjaro
Posts: 745
Blog Entries: 3

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
List mounted filesystems


Hi all!

This is not a question, it is a ”protip”.

If you, like me, want to see exactly where your /home is mounted, or where that blasted usb stick ended up, you probably have used df, or dmesg or some other command.

Although they are great, I have a new favourite: blkid.

The output is awesome and easy to read, and provides all the info I need. So, try out:
Code:
sudo blkid -o list
In your terminal and see for yourself!
Code:
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  ext4             /              11112c19-5b69-4c7a-8192-651623511111
/dev/sda5  swap             <swap>         11117218-32e8-4115-81cd-ff27ec311111
/dev/sda6  ext4             /home          1111a2dc-1704-41b5-8b69-2ee47ad11111
Merry Xmas!

PS. Yeah, UUID is somehwat obfuscated, I might be paranoid... DS.
 
Old 12-20-2013, 04:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Good tip, but I'd suggest you use your LQ blog for this sort of thing in future.
 
Old 12-20-2013, 04:45 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You could also look at lsblk
 
Old 12-20-2013, 05:06 AM   #4
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Xubuntu, Manjaro
Posts: 745
Blog Entries: 3

Original Poster
Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Quote:
Originally Posted by acid_kewpie View Post
Good tip, but I'd suggest you use your LQ blog for this sort of thing in future.
Oops! Sorry
 
  


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
fsck on mounted filesystems hohum Linux - Server 3 11-12-2011 09:40 AM
Fsck and Manually mounted filesystems Panci Linux - General 3 11-12-2010 09:32 AM
df: cannot read table of mounted filesystems atheist Linux - General 3 08-28-2009 10:47 AM
Changing how filesystems are mounted kaplan71 SUSE / openSUSE 2 02-23-2009 05:48 PM
mounted devices/ filesystems ergo_sum Linux - Newbie 4 11-01-2003 06:43 AM


All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration