LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-11-2011, 03:35 AM   #1
ilamathi
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Issues in displaying mounted devices


Hi All
Sometimes when I try to display the mounted device in linux it displays devices which are not currently mounted. I want to correct this this using script. Can anybody help me?

Regards
Ilamathi
 
Old 02-11-2011, 08:47 AM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
What is the method you use to display the list of mounted devices? Some of the choices are these shell commands:
Code:
cat /proc/mounts
Code:
df -a
Can you give an example of the output you get from "cat /proc/mounts" and tell us what lines in that output you believe are devices that are not mounted?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome displaying icons for mounted NFS volumes? (Fedora 10) redarrow Linux - Desktop 2 02-12-2009 12:01 AM
Don't displaying images from a Mounted CIFS folder GSound Linux - Server 2 10-19-2007 12:17 PM
Displaying NFS devices node047 Linux - Networking 1 04-05-2005 12:59 AM
which devices parameters are displaying in fedora? alnreddy Linux - Hardware 0 12-14-2004 07:53 AM
Displaying Devices on Desktop with GNOME scottpioso Linux - Software 0 01-14-2004 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:48 AM.

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