Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for unix
0
votes
1
answer
1
In the UNIX environment what happens in the following three cases as shown in Fig. 1.
tenjela
449
views
tenjela
asked
May 11, 2023
Operating System
operating-system
unix
+
–
1
votes
0
answers
2
Fork System Call and Threads | OS | MSQ
MSQ Consider the following statements, which one of the following is/are TRUE In fork() system call, child process inherits all the open file descriptors of parent process In fork() system call, child process copies the code of the ... system call, child process shares the code of the parent process User level threads shares the code segment of the process
MSQ Consider the following statements, which one of the following is/are TRUEIn fork() system call, child process inherits all the open file descriptors of parent process...
Souvik33
793
views
Souvik33
asked
Nov 28, 2022
Operating System
operating-system
fork-system-call
unix
process-and-threads
threads
multiple-selects
+
–
2
votes
1
answer
3
can any one give detailed explanation of the question with answer ??
A user level process in Unix traps the signal sent on a Ctrl-C input, and has a signal handling routine that saves appropriate files before terminating the process. When a Ctrl-C input is given to this process ... routine executes? User mode Kernel mode Superuser mode Privileged mode Note : I know this is previous year question
A user level process in Unix traps the signal sent on a Ctrl-C input, and has a signal handling routine that saves appropriate files before terminating the process. When ...
hem chandra joshi
361
views
hem chandra joshi
asked
Aug 17, 2017
Operating System
unix
process
+
–
1
votes
2
answers
4
UGC NET CSE | January 2017 | Part 3 | Question: 54
Which statements is not correct about “init” process in Unix? It is generally the parent of the login shell. It has PID $1$. It is the first process in the system. Init forks and execs a ‘getty’ process at every port connected to a terminal.
Which statements is not correct about “init” process in Unix?It is generally the parent of the login shell.It has PID $1$.It is the first process in the system. Init ...
go_editor
1.4k
views
go_editor
asked
Mar 24, 2020
Operating System
ugcnetcse-jan2017-paper3
operating-system
unix
+
–
0
votes
4
answers
5
UGC NET CSE | January 2017 | Part 3 | Question: 51
Match the following for Unix file system : ... $\text{a-iv, b-iii, c-ii, d-i}$ $\text{a-iv, b-iii, c-i, d-ii}$
Match the following for Unix file system : $\begin{array}{clcl} & \textbf{List-I} & {} & \textbf{List-II} \\ \text{a.} & \text{Boot block} & \text{i.} & \text{Informat...
go_editor
1.6k
views
go_editor
asked
Mar 24, 2020
Operating System
ugcnetcse-jan2017-paper3
operating-system
unix
+
–
3
votes
2
answers
6
Unix Inode file system
Consider a file system that uses UNIX like inodes to keep track of the sectors allocated to files. Assume that disk blocks are 1 KB in size, disk block addresses are 32 bits and the inode has space for 8 direct blocks, 1 singly indirect blocks, 1 doubly ... B) 234 bytes (C) 210 bytes (D) 242 byte Is there asked about total size of file system? whats difference between them?
Consider a file system that uses UNIX like inodes to keep track of the sectors allocated to files. Assume that disk blocks are 1 KB in size, disk block addresses are 32 b...
khushtak
10.0k
views
khushtak
asked
Jan 6, 2016
Operating System
operating-system
inode
unix
+
–
0
votes
1
answer
7
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 40 (Page No. 433)
Many versions of UNIX use an unsigned $32$-bit integer to keep track of the time as the number of seconds since the origin of time. When will these systems wrap around (year and month)? Do you expect this to actually happen?
Many versions of UNIX use an unsigned $32$-bit integer to keep track of the time as the number of seconds since the origin of time. When will these systems wrap around (y...
admin
594
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
unix
descriptive
+
–
0
votes
0
answers
8
Andrew S. Tanenbaum (OS) Edition 4 Exercise 1 Question 29 (Page No. 83)
Figure $1-23$ shows that a number of UNIX system calls have no Win32 API equivalents. For each of the calls listed as having no Win32 equivalent, what are the consequences for a programmer of converting a UNIX program to run under Windows?
Figure $1-23$ shows that a number of UNIX system calls have no Win32 API equivalents. For each of the calls listed as having no Win32 equivalent, what are the consequence...
admin
636
views
admin
asked
Oct 23, 2019
Operating System
tanenbaum
operating-system
unix
system-call
descriptive
+
–
0
votes
0
answers
9
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 33 (Page No. 432)
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their version of UNIX very fast. As an example, he ... measured was identical to what would be expected from first-come, first-served. Was the salesman lying?
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their...
admin
527
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
unix
disk
descriptive
+
–
0
votes
1
answer
10
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 4 (Page No. 333)
Is the open system call in $UNIX$ absolutely essential? What would the consequences be of not having it?
Is the open system call in $UNIX$ absolutely essential? What would the consequences be of not having it?
admin
621
views
admin
asked
Oct 26, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
1
votes
0
answers
11
Andrew S. Tanenbaum (OS) Edition 4 Exercise 1 Question 36 (Page No. 84)
Examine and try to interpret the contents of a UNIX-like or Windows directory with a tool like the UNIX od program. (Hint: How you do this will depend upon what the OS allows. One trick that may work is ... with one operating system and then read the raw device data using a different operating system that allows such access.)
Examine and try to interpret the contents of a UNIX-like or Windows directory with a tool like the UNIX od program. (Hint: How you do this will depend upon what the OS al...
admin
347
views
admin
asked
Oct 23, 2019
Operating System
tanenbaum
operating-system
unix
descriptive
+
–
0
votes
0
answers
12
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 47 (Page No. 336)
Implement a program to measure the impact of application-level buffer sizes on read time. This involves writing to and reading from a large file (say, $2$ GB). Vary the application buffer size (say, from $64$ ... results and report your findings: does buffer size make a difference to the overall write time and per-write time?
Implement a program to measure the impact of application-level buffer sizes on read time. This involves writing to and reading from a large file (say, $2$ GB). Vary the a...
admin
289
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
0
votes
0
answers
13
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 3 (Page No. 333)
In early UNIX systems, executable files (a.out files) began with a very specific magic number, not one chosen at random. These files began with a header, followed by the text and data segments. Why do you think a ... chosen for executable files, whereas other file types had a more-or-less random magic number as the first word?
In early UNIX systems, executable files (a.out files) began with a very specific magic number, not one chosen at random. These files began with a header, followed by the ...
admin
321
views
admin
asked
Oct 26, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
0
votes
0
answers
14
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 45 (Page No. 336)
Write a program that scans all directories in a $UNIX$ file system and finds and locates all i-nodes with a hard link count of two or more. For each such file, it lists together all file names that point to the file.
Write a program that scans all directories in a $UNIX$ file system and finds and locates all i-nodes with a hard link count of two or more. For each such file, it lists t...
admin
291
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
disk
unix
descriptive
+
–
0
votes
0
answers
15
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 46 (Page No. 336)
Write a new version of the UNIX ls program. This version takes as an argument one or more directory names and for each directory lists all the files in that directory, one line per file. Each field should be formatted in a reasonable way given its type. List only the first disk address, if any.
Write a new version of the UNIX ls program. This version takes as an argument one or more directory names and for each directory lists all the files in that directory, on...
admin
273
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
0
votes
0
answers
16
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 54 (Page No. 434)
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the hard disk after periods of inactivity. A user sometimes runs UNIX programs in text mode, and ... She is surprised to find that battery life is significantly better when she uses text-only programs. Why?
A notebook computer is set up to take maximum advantage of power saving features including shutting down the display and the hard disk after periods of inactivity. A user...
admin
200
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
unix
descriptive
+
–
0
votes
0
answers
17
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 28 (Page No. 335)
We discussed making incremental dumps in some detail in the text. In Windows it is easy to tell when to dump a file because every file has an archive bit. This bit is missing in $UNIX.$ How do $UNIX$ backup programs know which files to dump?
We discussed making incremental dumps in some detail in the text. In Windows it is easy to tell when to dump a file because every file has an archive bit. This bit is mis...
admin
192
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
0
votes
0
answers
18
Andrew S. Tanenbaum (OS) Edition 4 Exercise 4 Question 30 (Page No. 335)
It has been suggested that the first part of each UNIX file be kept in the same disk block as its i-node. What good would this do?
It has been suggested that the first part of each UNIX file be kept in the same disk block as its i-node. What good would this do?
admin
186
views
admin
asked
Oct 27, 2019
Operating System
tanenbaum
operating-system
file-system
unix
descriptive
+
–
3
votes
1
answer
19
File System - Unix Inode
Anup patel
839
views
Anup patel
asked
Oct 13, 2017
Operating System
operating-system
inode
unix
file-system
+
–
0
votes
0
answers
20
fork() system call
Sanjay Sharma
497
views
Sanjay Sharma
asked
Jan 25, 2019
Operating System
unix
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register