I am sharing important data with my friends/colleagues. For this, rather sending mail or uploading to some hosting site and providing them with the link, I prefer to give them individual USB Pen drive for data transfer.
But I can not trust any one of them as they can share among themselves the information saved in USB drive. I had LUKS-Crypted storage devices so that given storage device will not get mounted on any other Operating system but only through my Linux-based application. This application is pre-filled with passwords.
So far so good.
Here, I want to set one limitation on USB device that, it can not get mounted beyond certain number. Device must get destroy it's content once the threshold "mount count" reached.
Solution for this was to use
tune2fs -l <device_Name> | grep ^Mount value for checking against
mount count but
e2fsck <device_Name> will reset this value.
Is there any way to achieve what I had mentioned ?
Also, Is it possible to deny any kind of cloning operation on device ? e.g. dd, partclone, rsync or any other