Answer to 2nd ques is : no of processes which can open the same file is limited by the size of kernal file table. kernal file table contains a pointer to inode and current byte index for every opened file in the system.
however,if two processes have parent child relationship or they are sharing a file ,then limit is even more because for same file, they have different process file table entries pointing to same kernal file table entry . -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.