Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USBChecker

Application which detects new USB mass storage devices on the system and auto eject them if they dont fulfill certain criteria.

The code is based in two different open source projects:

After finding some issues when 2 USB were plugged at the same time and only one of them was properly ejected, I decided to use a timer instead. You can find the old code still commented, just in case you find the bug on it. ;)

Using a timer, every 5 seconds the application will check the USB devices connected to the system. For those USB mass storage it will check their validity based on some criteria defined in the code. By defautl the initial criteria is simply to check the existence of a file in the root folder, it must be called "STAMP.kiosk". If this file does not exist, the USB will be automatically ejected. Different criteria should be added to the code according to your needs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages