I know /proc is a VFS and cannot be updated by user from shell prompt. this is my understanding from the beginning. Now , I am writing one code and where I am taking care of corrupted /proc/partitions file. I have my code ready and need to corrupt the file to test my code. I know chances are very less but I want to check all the other people if its possible in anyway to do that ? Any dirty way for test simulation would be ok.
I already tried vi ,echo, mv,rm and what my little head can come across but could not do that.
Any way possible ?