* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download CUSTOMER_CODE SMUDE DIVISION_CODE SMUDE
Survey
Document related concepts
MTS system architecture wikipedia , lookup
Library (computing) wikipedia , lookup
Commodore DOS wikipedia , lookup
Berkeley Software Distribution wikipedia , lookup
Plan 9 from Bell Labs wikipedia , lookup
Burroughs MCP wikipedia , lookup
File locking wikipedia , lookup
Transcript
CUSTOMER_CODE SMUDE DIVISION_CODE SMUDE EVENT_CODE JULY15 ASSESSMENT_CODE BC0056_JULY15 QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 72497 QUESTION_TEXT What are the layers of UNIX operating system? Explain. SCHEME OF EVALUATION The UNIX system is actually more than strictly an operating system. UNIX includes the traditional operating system components. In addition, a standard UNIX system includes a set of libraries and a set of applications. Sitting above the hardware are two components: the file system and process control. Next is the set of libraries. On top are the applications. The user has access to the libraries and to the applications. These two components are what many users think of as UNIX, because together they constitute the UNIX interface. The part of UNIX that manages the hardware and the executing processes is called the kernel. In managing all hardware devices, the UNIX system views each device as a file (called a device file). This allows the same simple method of reading and writing files to be used to access each hardware device. The file manages read and write access to user data and to devices, such as printers, attached to the system. It implements security controls to protect the safety and privacy of information. In executing processes, the UNIX system allocates resources (including use of the CPU) and mediates accesses to the hardware. (10 marks) QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 111205 QUESTION_TEXT In how many phases Fsck conducts a check? Briefly explain them. SCHEME OF EVALUATION Phase 1 to 5 Explanation – Each 2 marks (10 marks) QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 111206 QUESTION_TEXT Explain the ‘find’ command by listing the options available with their meanings. SCHEME OF EVALUATION Options and meaning given in the table - each 1 mark – (8 marks) -perm and –size with their meaning - 2 marks QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 111207 QUESTION_TEXT What is the purpose of setting Accounts in UNIX? Explain the concept of Previlages and its significance SCHEME OF EVALUATION Purpose (3 marks) Privileges (5 marks) Significance (2 marks) QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 111210 What is the procedure for achieving the following? QUESTION_TEXT SCHEME OF EVALUATION a. Viewing and Setting Environment variables b. Using shell startup files c. Configuring with rc files a. b. c. Viewing and Setting Environment variables (3.5 marks) Using shell startup files(3 marks) Configuring with rc files(3.5 marks) QUESTION_TYPE DESCRIPTIVE_QUESTION QUESTION_ID 111214 QUESTION_TEXT SCHEME OF EVALUATION Explain the mounting and un-mounting process in UNIX The mount Command (5 marks) The basic format of mount command: # mount device mountpoint Options: -a: Mount all the file systems listed in /etc/fstab. Except those marked as noauto keyword excluded by the -t flag, or those that are already mounted. -f: Forces the mount of an unclean file system (dangerous), or forces the revocation of write access when downgrading a file system’s mount status from read-write to read-only. -r: Mounts the file system read-only. -t fstype: Mounts the given file system as the given file system type -U: Update mounts options on the file system. -v: Be verbose. -w: Mounts the file system read-write. Unmount: Un-mounting File Systems (5 marks) Unmounting is achieved with the unmount command which requires either the file system name or the mount point as argument. umount /oracle umount /fdev/hda3 umount/dev/dsk/cOt3dOs5 Unmounting a file system is not possible if you have a file open in it. Further, just as you can’t remove a directory unless you are placed in a directory above it, you can’t unmount a file system unless you are placed above it. All forms take -f to force unmounting, and -v for verbosity. -a and -A are used to unmount all mounted file systems, -A, however, does not attempt to unmount the root tile system.