answersLogoWhite

0

📱

Operating Systems

Operating systems, both proprietary and open-source, include those produced by Microsoft, Linux, and Apple Mac

4,423 Questions

How many partition in Linux?

Linux can have as many partitions as you like, as it uses a unified filesystem structure. Usually you'll see 3-4:

The / partition, where it all comes together and you'll most likely find most your configuration, software, libraries, assets, documentation, etc.

The swap partition, which is where the Linux kernel can dump pages of memory when memory is running low or certain processes have been blocked for a long time.

The /home partition, where user data is stored, includes preferences, documents, media files, and misc user-specific data are kept. Often kept in its own partition to allow you to share the same user data across multiple operating systems, and also to allow you to reinstall Linux without having to waste a second on needless backups, as that partition need not be removed.

/boot partition, where the kernel, initramfs images, and bootloader files and configuration are kept. Often placed on its own partition for similar reasons as /home, to allow reinstallation of Linux without necessarily having to clear out boot data. IT also allows one to install multiple Linux instances and only having to define kernel parameters and initramfs locations for all of them from a single location. Also allows the system to keep booting if you were to remove Linux itself and go back to Windows without having to reinstall Windows.

You can put many other toplevel directories in other partitions, but not all of them. /usr, /tmp, /opt, and /var can be put on other partitions, as the system doesn't actually rely on them to come online, though they will all be needed for the system to become usable to the average user.

All the other toplevels need to stay on /, as the system absolutely needs them to function from the very moment early userspace finishes, not to mention single-user ("Maintenence") mode counts on everything an administrator would need being present at all times, which can't be guaranteed with separate partitions.

Do some operating systems include instant messenger?

No, there are no operating systems that come included with instant messenger. This is something that can be obtained through programs like Yahoo, Hotmail, and AOL.

What is a page table base register?

Each process running on a processor needs its own logical address space. This can only be realized if each process has its own page table. To support this, a processor that supports virtual memory must have a page table base register that is accessible by the operating system. For operating system security, this register is only accessible when the processor is in system mode.

The operating system maintains information about each process in a process control block. The page table base address for the process is stored there. The operating system loads this address into the PTBR whenever a process is dispatched.

Explain layered structure in operating system?

Structure of an Operating System

An operating system is composed of a kernel, possibly some servers, and posssibly some user-level libraries. The kernel provides operating system services through a set of procedures, which may be invoked by user processes through system calls. System calls look like procedure calls when they appear in a program, but transfer control to the kernel when they are invoked at run time. ( read is an example of a system call in Unix.)

In some operating systems, the kernel and user-processes run in a single (physical or virtual) address space. In these systems, a system call is simply a procedure call. In more robust systems, the kernel runs in its own address space and in a special privileged mode in which it can execute instructions not available to ordinary user processes. In such systems, a system call invokes a trap as discussed below.

A trap is a hardware event that invokes a trap handler in the kernel. The trap indicates, in appropriate hardware status fields, the kind of trap. Traps may be generated implicitly by the hardware to signal events such as division by zero and address faults (which we will discuss later), or explicitly by a process when it executes a special instruction. Explicit or user-initiated traps are used to handle system calls. A system call stores the name of the call and its arguments on the stack and generates a user-initiated trap. The trap handler in the kernel knows, from the type of the trap, that it is a user-initiated trap asking for a system call, finds the name of the systems call, and calls the appropriate kernel procedure to handle the call passing it the arguments stored on the stack.

We will later consider the various techniques for structuring the kernel. As we shall see, kernels may be layered, object-oriented, or decomposed into kernel processes.

Not all operating services have to be provided by the kernel. Modern operating systems also define servers, which are user processes that offer operating system services to other processes. These services are invoked by clients through interprocess communication (IPC) primitives. We shall see later the rationale for transferring functionality from the kernel to servers. We shall also see the minimum functionality that needs to be supported in the kernel. In micorkernel-based systems, the kernel provides this minimum functionality.

The cost of invoking system calls and IPC primitives is more than the cost of invoking a simple procedure call when multiple address spaces are supported by the system. Therefore, as we shall see later, some of the traditional OS functionality is sometimes also provided by user-level libraries.

Disadvantages of real-time operating system?

Multitasking, preemptive, re-entrant kernel

* Supports implementing real-time applications as multiple semi-autonomous tasks. Tasks are always in one of five states: running, ready, blocked, suspended, or delayed.

* Provides for task communication and synchronization, both with other tasks and with interrupt service routines.

Priority Based

* Tasks are implemented as light-weight threads assigned a priority at time of creation.

* Task priorities can be dynamically changed with OsSetTaskPri(). The new priority takes effect immediately. Tasks pending in a priority queue are dynamically re-ordered in the queue.

* A task's priority is temporarily boosted when holding ownership of a mutex being requested by a higher priority task (priority inheritance).

Task Synchronization and Communication

* Semaphores and queues perform either priority or FIFO scheduling of pending tasks. Semaphores are counting semaphores. Message queues have either a fixed maximum size or grow freely, limited only by the amount of available memory.

* Mutexes operate like binary semaphores with ownership and priority inheritance to avoid the problem of priority inversion.

* Events can make multiple tasks ready with a single system call. Events are posted to a nexus which may contain any number of blocked tasks. Tasks waiting for an event use a 32-bit mask to select which events they respond to.

* Timers can be used in a wide variety of system calls. Semaphores, messages, and events can be posted after a fixed delay or posted repeatedly at fixed intervals. Application functions can be called after a fixed delay, or called repeatedly at fixed intervals. Timers can be stopped, tested for expiration, and/or deleted at any time.

Deterministic

* Interrupt latency does not increase as the number of tasks, semaphores, queues, etc., increase.

* The execution time of every service call is independent of the number of tasks, queues, semaphores, etc., in the system, except for the delete and get identifier calls which are infrequent operations.

Responsive

* Timer-related processing that is variant, such as sorting the timer queue, is performed in the background using kernel tasks. Minimal work is performed up front when a system call requires timer processing, allowing the CPU to return more quickly to the application.

Flexible Scheduler

* The scheduler can be configured as non-preemptive, a requirement for some third-party communication protocol stacks. When non-preemptive, running tasks always keep the CPU until making a service call that blocks.

* If configured as preemptive, the scheduler always runs the highest priority ready task. The running task is preempted whenever an interrupt makes ready a task with higher priority than the currently running task.

* Preemption can be temporarily disabled with OsLockTask(). Preemption is re-enabled by either calling OsUnlockTask(), or by making a service call that blocks.

* Tasks may be configured for round robin scheduling among tasks of the same priority. The time slice value is configurable and may be examined or modified at any time.

Easy to Use

* A compile-time option promotes all service call errors to fatal errors that cause an error message on stderr and a break into the debug monitor. This helps catch simple programming errors that can otherwise waste valuable time.

* Kernel objects (tasks, semaphores, queues, mutexes, nexuses, timers) are created dynamically upon request by the application. There is no configuration file to edit and maintain as the application grows. The only limit is the amount of available memory.

Interrupt Service Routine Manager

* isrCreate() creates an entry in the CPU's vector table and installs "wrapper" routines that save and restore the minimal registers required to allow the service routine to be written in C.

* The CPU vector table is initialized at startup with default vectors that allow bus errors and spurious interrupts to be reported on the stderr console.

Command Line Debug Monitor

* Displays the percent of CPU time used by each task and ISR. Displays the stack low water mark for each task. Displays a log of past system calls including the time of the call, the name of the task or ISR making the call, and the values of the parameters used. Allows interactive querying of the state of each task, semaphore, etc.

* Application programs, device drivers, etc. can extend the monitor by adding name strings and code for additional commands.

Integrated Development Environment

* Integrated with TargetToolsâ„¢, the IDE for embedded development from Blunk Microsystems with an integrated compiler and kernel-aware debugger, visual code editor, search and replace tool, BDM for board bring-up, and fast Ethernet download.

Turnkey Solution

* Provided with source code, default compiler settings, linker command files, project files, and a re-entrant Standard C runtime library.

* Blunk Microsystems provides board support packages for a range of commercial CPU boards and provides competitive bids on board support packages for custom designs.

Royalty Free

* Includes source code, User's manual, sample applications, and one year of technical support.

What is the most common operating system and why?

Linux is by far the most common operating system in the world. Note that I am including ALL computers, not just desktops and servers, since the question never specified. Once you add in all the cell phones, internet routers, GPS's, TV's, set top boxes, etc, I think you would find that Linux holds a majority market share of operating system deployments in the world.

What are kernel level threads?

KERNEL

In computing, the kernel is the central component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).

Which OS should i load in my hp dv2415nr win7 xp vista vista 64 and don't say Linux that is a given?

I to Know the pain your going through trying to find an OS to run Your laptop I too looked for a long time through OS's when i bought my laptop. My choice was the vista 64 bit but depending on what you want to do with your laptop that may not be the right one for you What i do want you to know is the whole big deal about vista being so much worse than xp is allot of crap and soon xp will be obsolete when win7 comes out. finally i would like to advise you not to try win7 yet there are a few bugs in the program that need to be dealt with first and I'm also not sure if your processor is up to the task. so i would have to say stick with vista. However I would partition my hard drive and put Linux on too.

From questioner: Of course I'm going to put Linux on that badboy. I'll probably try and throw windows 7 on there too just for kicks. But, I suppose I'll put vista 64 on as my main Os. The lappy has a dual core at 1.8ghz so, I'm sure it can handle 7 if I want it to. I totally agree about xp. I don't see why people keep doggin vista. I like vista and I haven't had any more problems with vista than I've had with xp. In fact, vista is alot better as far as I've seen.

From Answerer: Im glad to see i could help you a little but i forgot to ask what Linux are you puttting on your system?

From Questioner: I think it'll be ubuntu unless you have a better suggestion. I installed it on my m275 and everything worked from the get go, except for the tablet features. So, I think I'll go with that. If you have a better idea for a Linux OS, I'd appreciate if you'd comment on my blog in the article dv2415 OS performance review. Just Google "the crumpled room" and it should come right up. Thanks again, I appreciate it.

What are the advantages of using loadable kernel modules?

Without loadable kernel modules, an operating system would have to include all possible anticipated functionality already compiled directly into the base kernel. Much of that functionality would reside in memory without being used, wasting memory, and would require that users rebuild and reboot the base kernel every time they require new functionality. Most operating systems supporting loadable kernel modules will include modules to support most desired functionality.(wikipedia)

How do you do a full backup of everything on your PC including the operating system?

There are several commercial programs to provide "full image backups" of a computer system. The most well-known products include Symantec Ghost and Acronis True Image. There is free software available such as Clonezilla, but it should only be used by experienced users.

What is contiguous allocation?

Paging is a memory management scheme that permits the physical- address space of process to be noncontiguous.

What is the best free operating system?

This is impossible to answer conclusively. In addition to the fact that no operating system is perfectly suited to all tasks, the word free itself is up for debate.

Free can have several different meanings to different people. To many people it means that it is free of any monetary cost. To others, free means that something lacks any restrictions on what you can or cannot do with it.

In operating systems, an operating system that restricts what you can do with it (such as modify the code or sell it) is considered proprietary. The only free operating systems that do not impair your rights to sell or modify them. Even within free systems, there is debate. Systems under licenses like the GPL force you to make any changes you make to a program you release to the public freely available. Other licenses like the BSD or MIT license allow you to keep the changes you make proprietary, and even re-license under a different license without making the source available.

Comparison of freeware proprietary operating systems


The operating systems that are considered the best in their field are listed below. More than one will still need to be listed, as there are still things about them that would make them unsuitable for a large number of people.

Desktop / Workstation


MorphOS - MorphOS is a desktop operating system with a multimedia-oriented operating system modeled after AmigaOS. Limitations: available only for workstations with PowerPC processors. Limited selection of applications. No memory protection.

BeOS - Multimedia desktop with many features considered rather advanced in its time. Fast microkernel design. Interface is considered by most to be very easy to learn. Decent homebrew community. Limitations: Company went out of business. Limited selection of apps. Often does not work on computers newer than 2004.

QNX - Fast and responsive on extremely low-end / older hardware. Highly reliable and compact. Applications from many other systems like Linux are easily ported to it. Limitations: designed for embedded use, not desktop. Lacks many basic desktop features for above reason. Installation requires (free) registration at comapny's website. Commercial use would require purchase of a (very expensive) license.

DR-DOS - 100% compatible MS-DOS clone. Includes many features that MS-DOS didn't support. Limitations: does not come with a graphical user interface. Only capable of single-tasking without some complex TSRs. Limited support for modern hardware.

Server

QNX - POSIX-compliant; highly secure. Many web server packages have already been ported to it. Limitations: commercial use would require purchase of a (very expensive) license.

Embedded


QNX - realtime, portable, highly reliable. Limitations: commercial use requires purchase of a (very expensive) license.


Comparison of free and open-source operating systemsDesktop / Workstation

Linux - Large selection of applications. Support for a broad range of hardware, and runs on systems both old and new. Highly reliable and secure. Growing community focusing on increasing ease of use. Limitations: Limited selection of commercial software. The large number of choices in distros and desktop environments can be daunting. Some devices do not work in Linux, simply because the vendors will not release hardware specifications.

FreeBSD - large selection of software (pretty much whatever runs on Linux). Less restrictive licensing (BSD). About 95% of hardware supported in Linux is supported by FreeBSD. Highly secure and reliable. Limitations: awkward installation of programs (except PC-BSD variant). Limited selection of commercial software. Community is highly devisive and prone to fragmentation. Some hardware devices do not work in FreeBSD due to lack of hardware documentation.

Server


Linux - reliable and secure. Very large support for commercial server software. Scales well across multiple cores and handles multi-threading well. Limitations: no support for some proprietary Microsoft extensions (like ASP).

FreeBSD - highly reliable and secure. Very large selection of commercial server software. Decent performance and hardware scaling. Limitations: no support for some proprietary Microsoft extensions. No major commercial backers.

Embedded

Linux - excellent documentation and reliability. Easily portable. Highly modular (can have unneeded components removed). Limitations: size still cannot be reduced enough for some types of devices.

eCos - designed from groun up for emdedded use. Highly portable and POSIX compliant. Limitations: ?

What is PC-BSD?

PC-BSD is a distribution of FreeBSD, a free and open-source Unix-like operating system. PC-BSD is focused on desktop use, and features the KDE desktop environment, a GUI popular with Linux distributions. Probably the most distinguishing feature of PC-BSD is the method of installing software. FreeBSD and most Linux distributuions use a package manager to download and install software. PC-BSD software is installed in a more Windows-like manner. Installers, with the extension ".pbi", are downloaded from the PC-BSD website. The user just double-clicks them to run the installer and install the program.

What is Trashing in operating system?

Trashing means excessive page input output in swapping. Which reduces the degree of multiprogramming.

How change the language of the operating system of Acer aspire NAV50 notebook?

You will have to go into the system settings via control panel or right click on my computer and pick properties. You should be able to find it from there.

Types of real-time systems?

There is 2 type of real-time system

a) Soft real time system ->partially meet the deadline means can do the round of the time to meet the dead line.

b) Hard real time system -> Strictly meet the deadline.

Thanks & Regards

Ajay Gautam

What is single user single tasking os?

these types of operating systems can not used for multitasking.

What is the classification of an operating system?

"OS Classification"

------------------------

Multi-Processor

Multi-User

Multi-Task

Multi-Thread

Real-Time

What browser software comes free with the windows operating system?

As of Windows 10, the default Microsoft browser is Edge (codenamed Spartan while in production). Internet Explorer is still also present (Edge uses a new rendering engine which is not fully backward compatible with Internet Explorer; in particular it no longer supports ActiveX or BHOs).