3i Infotech Placement: Sample Questions 402 - 403 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 402

Edit

Describe in Detail

Essay▾

What are links and symbolic links in UNIX file system?

Explanation

Define Symbolic Links
  • A link is a pointer or reference to another file.
  • A directory UNIX has a list of file names and corresponding inodes.
  • Link points to another file.

Hard Link

  • In hard link- the i-numbers of two difference directory file entries point to the same inode.

Soft Link

  • A symbolic link or a soft link a special type of link containing links or references to another file or directory in the form of the path.
  • To create a symbolic link, following command is used:

    Ln-s target link_name

  • Path is the target and name of the link is link_name.
  • Symbolic link can created to creare a file system based on different views of the user.

Question 403

Edit

Describe in Detail

Essay▾

What do you mean by u-area (user area) or u-block?

Explanation

UNIX maintains the information about a process in two areas- process table and the u-area. U-area:

  • The user area of a process is located at the upper end of the process address space and accessible only when running in kernel mode.
  • Contains the private data that is manipulated only the kernel.
  • This is the local to the process; each process is allocated a u-area.
  • When a process is created it is the required small temporary memory to start execution.
  • Temporary private area used only by kernel to control and execute process.

Developed by: