Skip to content

A simple utility program that tracks mount changes in real-time

License

Notifications You must be signed in to change notification settings

tdeva14/MountTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MountTracker

mount-tracker is a simple utility that allows you to track mount changes in real-time.

Dependencies

  • glib
  • gcc

Building

To build mount-tracker, run the following command:

make

This will compile and link the source files and create the mount-tracker executable.

Usage

./mount-tracker -d <device> -t <timeout>
  • -d: A mandatory option that specifies the list of devices to monitor. Multiple devices can be passed as arguments.
  • -t: An optional parameter that configures the timeout in milliseconds used by the poll system call.

Example

./mount-tracker -d sda -d sdb

Note: Make sure that the devices passed in -d are already mounted before running the application.

License

mount-tracker is licensed under the MIT License.

Contact

For questions, suggestions, or other inquiries, please contact Deva T at Deva_Thiyagarajan2@comcast.com.

About

A simple utility program that tracks mount changes in real-time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published