File management in Unix Interview questions


Total available count: 13
Subject - Operating System
Subsubject - File management in Unix

Discuss the mount and unmount system calls?

The privileged mount system call is used to attach a file system to a directory of another file system; the unmount system call detaches a file system. When you mount another file system on to your directory, you are essentially splicing one directory tree onto a branch in another directory tree. The first argument to mount call is the mount point, that is , a directory in the current file naming system. The second argument is the file system to mount to that point. When you insert a cdrom to your unix system's drive, the file system in the cdrom automatically mounts to /dev/cdrom in your system.




Next 5 interview question(s)

1
How do you create special files like named pipes and device files?
2
What is a FIFO?
3
What are links and symbolic links in UNIX file system?
4
How do you change File Access Permissions?
5
What are the Unix system calls for I/O?