|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
UNIX
DETAILS
Question: Discuss the mount and unmount system calls in UNIX OS?
Answer: 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.
|
|
|
Category |
UNIX Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9635 users |
Added on |
9/22/2014 |
Views |
71819 |
Rate it! |
|
|
Question:
Discuss the mount and unmount system calls in UNIX OS?
Answer:
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. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How do you create special files like named pipes and device files in UNIX OS?
|
View Answer
|
|
What is a FIFO in UNIX OS?
|
View Answer
|
|
What are links and symbolic links in UNIX OS file system?
|
View Answer
|
|
Back to UNIX Operating System Interview Questions and Answers page Question : How do you change File Access Permissions in UNIX OS?
|
View Answer
|
|
What are the Unix system calls for I/O?
|
View Answer
|
|
Brief about the directory representation in UNIX OS?
|
View Answer
|
|
What is inode in UNIX OS?
|
View Answer
|
|
How are devices represented in UNIX OS?
|
View Answer
|
|
What is the easiest way to store variables and explain?
|
View Answer
|
|
Explain about fork?
|
View Answer
|
|
Describe the process of “spname”?
|
View Answer
|
|
What function does “errno” do?
|
View Answer
|
|
Explain about read slow?
|
View Answer
|
|
What are the special arrangements to make a terminal i/p and o/p?
|
View Answer
|
|
Explain abut low-level I/O?
|
View Answer
|
|
Suppose that you are using a terminal in which the screen size is bigger than the normal 24 lines. If you want to use p and take full advantage of your terminal capabilities what choices are open to you?
|
View Answer
|
|
Explain about ZAP?
|
View Answer
|
|
Describe about the root file system?
|
View Answer
|
|
How to search files for lines that match a pattern?
|
View Answer
|
|
Explain about cat?
|
View Answer
|