LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 10-01-2010, 12:22 PM   #1
petermosca
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Question Monitor Disk Mounts


What is the best way to detect disk mounts?

I'm setting up a system to automatically detect disk mounts, so I'm looking for a file or something where disk mounting is recorded.

There are several files that look promising, but I am a LINUX novice, so I don't quite understand the exact roles each play:

/etc/mnttab
/etc/rmtab
/etc/dfs/sharetab

Of the above files, etc/rmtab looks most promising.

Any suggestions or help with this would be greatly appreciated.
 
Old 10-01-2010, 12:53 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
Watch /proc/mounts ? That's a real-time view into the kernel
 
Old 10-01-2010, 03:05 PM   #3
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
I guess that automounting is using HAL + dbus
 
  


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
[SOLVED] is there a way to monitor NFS mounts? recomboDNA Linux - Server 2 07-30-2010 10:55 AM
usb disk un-mounts while copuing data - kubuntu 8.04 kde 3.5.9 giesbert Linux - Desktop 1 05-15-2008 09:55 AM
Disk Monitor onelung02 Programming 1 06-16-2006 10:56 AM
Second Disk Mounts redijedi Linux - Newbie 4 06-18-2005 12:45 PM
Monitor disk I/O with ? rodda Linux - Hardware 2 11-19-2002 10:27 AM


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