Notifications
Clear all
Topic starter
24/08/2014 2:30 am
I want to test the write blocker if it works or not. The /mnt/sda1 is the mount point for the write protected device.
Try to use MD5 hash function for that
md5sum /dev/sda1 (execute this before and after mounting a file system and compare the values)
You can also try to debug IO functions
1) execute "sysctl vm.block_dump=1" to enable debugging;
2) all read/write requests will be logged to the syslog ("less /var/log/syslog" or something similar to view all read/write requests made, write requests will look like "WRITE block 821424 on dm-1 (8 sectors)");
3) execute "sysctl vm.block_dump=0" to disable debugging.
Thank you very much thefuf for all the help. Truly I can't thank you enough.
Page 2 / 2
Prev