Why is there no open or close operation in the interface to the flat file service or the directory service. What are the differences between our directory service Lookup operation and the UNIX open?

What will be an ideal response?


Because both services are stateless. The interface to the flat file service is designed to make open unnecessary. The Lookup operation performs a single-level lookup, returning the UFID corresponding to a given simple name in a specified directory. To look up a pathname, a sequence of Lookups must be used. Unix open takes a pathname and returns a file descriptor for the named file or directory.

Computer Science & Information Technology

You might also like to view...

Windows Protector is a program that protects against viruses and spyware

Indicate whether the statement is true or false

Computer Science & Information Technology

When a Microsoft Word file is inserted into an OpenOffice Writer file, Writer inserts a ________ before the inserted document

A) section B) page break C) manual line break D) leader

Computer Science & Information Technology

To insert a line, click the Line button in the Controls group on the ____ tab. Move the pointer to the report, click the plus sign in the pointer where you want the line to begin, and then drag the pointer to the location where you want the line to end.

A. Design B. Data C. Format D. Layout

Computer Science & Information Technology

________ is the set of instructions that programmers have written in a higher-level language.

A. Executable code B. Base code C. Compiled code D. Source code

Computer Science & Information Technology