Next: Information needed on open
Up: Disk File I/O
Previous: Disk File I/O
Information required for each process includes, userid, root directory
and current directory :
- Use process ID to get User ID
- Look up directory entry
- Check access privilege for userid
- Check file state - only 1 user can have file open in writemode
- Directory
file location (disk no. and address on disk)
- Create entry in process file descriptor table
Omer F Rana
Sat Feb 15 19:06:41 GMT 1997