mount-tracker is a simple utility that allows you to track mount changes in real-time.
glibgcc
To build mount-tracker, run the following command:
makeThis will compile and link the source files and create the mount-tracker executable.
./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 thepollsystem call.
./mount-tracker -d sda -d sdbNote: Make sure that the devices passed in -d are already mounted before running the application.
mount-tracker is licensed under the MIT License.
For questions, suggestions, or other inquiries, please contact Deva T at Deva_Thiyagarajan2@comcast.com.