adplus-dvertising
frame-decoration

Question

The difference between a pipe and a regular file is that

a.

Unlike a regular file, pipe is not a file

b.

The data in a pipe is transient unlike the contents of a regular file

c.

Pipes forbid random accessing while regular files do allow this

d.

Both (b) and (c)

Posted under Unix File System UNIX

Answer: (d).Both (b) and (c)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The difference between a pipe and a regular file is that

Similar Questions

Discover Related MCQs

Q. Which of the following system call uses file descriptor as an argument?

Q. System calls and library functions are same.

Q. For changing the time stamps, _____ system call is invoked.

Q. Both the owner and group owner can be changed by ____ call.

Q. chmod and fchmod calls are used for changing file permissions.

Q. Which of the following is used with access call for checking the owner’s permissions?

Q. For checking a file access rights, ___ system call is used.

Q. Which of the following macro returns true if the file type is a directory?

Q. S_IFxxx macros are used for checking the file types.

Q. ____ system call is used for renaming a file, directory or symbolic link.

Q. For removing a link, ____ is used.

Q. For creating a hard and symbolic link, which system calls are used?

Q. A super user can use ___ call for creating a directory.

Q. For creating and removing directories, which of the following system calls are used?

Q. Directories can also be opened, read and written in the same way as regular files.

Q. Which of the following system calls performs the action of cd command?

Q. The vnode table is also called _____

Q. The file table contains _________

Q. The file descriptor table contains all file descriptors for a process.

Q. How many data structures does the kernel maintain in memory that contain information about an open file?