1.

For creating a hard and symbolic link, which system calls are used?(a) link, unlink(b) link, symlink(c) unlink, ulink(d) hlink, slinkThe question was asked by my school principal while I was bunking the class.My question is from File handling System Calls in division System Programming I – Files of Unix

Answer»

Correct option is (B) link, symlink

To explain: UNLIKE the ln command which CREATES both hard and symbolic LINKS, the system call library has two separate functions, link and symlink for these tasks.



Discussion

No Comment Found

Related InterviewSolutions