Hi this is swanand.
I am doing a project in my college. It deals with the filesystem ext2 . I wanted to check if a file is been handled by my process only and that no other process is accessing that file. How could i do that ?
Is there any way to be sure that no other process is handling that particular file at that moment?
I tried to check the count field in the inode,dentry,file objects, but all of them show 1, even when i have opened that file on different desktops in different editors ?????
Can you please help me out?
Thank you.
my e-mail address :
swanandshende@yahoo.co.uk.