Automatically mount USB-sticks

Words
182
Reading
1 min
Listen
Play
9y

We implemented a new feature for our PASSDORA Box. Passdora is a Raspberry Pi based system which hosts the Sequry password-manager.

PASSDORA

New Features

What feature(s) did you add?

Automatically created backups should be copied to a connected USB-drive.
In order to access the USB-drive and copy the backup-files onto it, it needs to be mounted first.
Since the process should be automated, requiring no user interaction besides plugging in the USB-drive, a background script is required that automatically mounts USB-drives when they're connected.

Reasons
  • copy backups to USB-drive -> mounting required

How did you implement it/them?

The following procedure should allow the automatic mount of USB-drives:

Thanks for reading
Jan, for PCSG Developers



Posted on Utopian.io - Rewarding Open Source Contributors

Automatically mount USB-sticks | Ecency