Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Operating System Expert

Answer the following problems.

problem 1) In algorithm iput for releasing in _core inode, consider:

i) reference count = 0 and link _count > 0

ii) reference count = 0 and link _count = 0

What would happen in each case?

problem 2) How does wait algorithm respond to the death of child signal?

problem 3) describe the swap out function of a swapper process.

problem 4) What are block and character device switch tables? Which system call is used to create the device file?

problem 5) describe the actions taken by kernel for detaching a region from a process.

problem 6) prepare a program in C in which parent process will prepare into unnamed pipe and child will read from it.

problem 7) What does the following program demonstrate? Describe its working.

# include < signal.h >
main (int argc, char * argv [ ] ) ;
{
Char buf [256] ;
if (argc ! = 1)
signal (SIGCLD, SIGIGN)
While ( read (0, buf, 256))
if ( fork ( ) = = 0)
{
exit (0) ;
}
}

problem 8) prepare a program in C to print inode number of every file of a directory. (Accept directory name from user.).

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M95295

Have any Question? 


Related Questions in Operating System

Operating systems- homeworkpurposethe purpose of this

Operating Systems- Homework Purpose The purpose of this exercise is to understand how creating files affects the available disk space and the available i-nodes on a disk partition on Linux/UNIX. Assignment Create and lea ...

Assignmentmultiple-processor scheduling simulationthe goal

Assignment Multiple-Processor Scheduling Simulation The goal of this simulation is to give you some experiences using POSIX Pthreads library functions for thread creations and synchronizations. You will learn how to solv ...

Question 1an important service provided by any system is

Question 1: An important service provided by any system is the ability to run a process on a predetermined schedule without human intervention. The “automation” of tasks can reduce the workload of the system administrato ...

Goals1 to gain hands-on experience with fork exec and wait

Goals: 1. To gain hands-on experience with fork(), exec(), and wait() system calls. 2. To master the basics of multi-process application development. 3. To appreciate the performance and fault-tolerance bene_ts of multi- ...

Linux implementation proposalphelpstech llc has a new

Linux Implementation Proposal PhelpsTech, LLC. has a new research and development group - Medals. All systems in Medals will run the Linux operating system and will access resources, as well as share resources, with Phel ...

Primary discussion responseprimary discussion response your

Primary Discussion Response Primary Discussion Response: Your classmates, your instructor, and you have been working together over the session as a team. Through discussion board tasks and individual projects, you have s ...

Ios questions150 - 200 words per question no less due in 15

iOS Questions 150 - 200 words per question, no less. Due in 15 hours. 1. What's a Development Provisioning Profile? 2. What are some Application Resource Constraints when developing an iOS app? 3. What are some iOS hardw ...

Firewall linux-a simple firewall is a filter which blocks

Firewall (Linux)- A simple firewall is a filter which blocks the packets based on the pre-defined filter rules. There are two general strategies to set-up a filter. One strategy is restrictive firewall which blocks all p ...

The following machine description will provide the basis

The following machine description will provide the basis for this assignment. You will create a virtual machine/operating system for the machine described below that will accept programs in the target machine language. T ...

Lab-file processingobjectivesbulladd persistent data

Lab-File Processing OBJECTIVES • Add persistent data storage to your Week 4 Lab using text file input/output. PROBLEM: Stocks4U Portfolio Management System The portfolio management system you developed for Stocks4U needs ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate