@pacific

I have the following answers to your questions :
1. A process can open number of files equal to the maximum value of
available file descriptors. This value is fixed in unix based systems
generally. Like in linux I think maximum descriptor value is 256. So
that much number of files can be opened.

2. When a file is opened by any process, its single copy of inode
resides in the main memory. This contains a reference count field
showing the number of process refering to this file. So I think the
number of processes which cn open a given file is restricted by the
no. of bits in this field.

-- 
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.

Reply via email to