Sponsored Content
Top Forums Shell Programming and Scripting Unix Operating Systems Information Document Post 302110746 by Perderabo on Thursday 15th of March 2007 03:19:00 AM
Old 03-15-2007
Windows is a collection of OS's and you can't really lump them together. XP has the NTFS filesystem which has rather powerful file permission capabilities. You can use a FAT filesystem with XP but Microsoft recommends ntfs. In my mind the glaring difference between Windows/Unix is that Unix is multi-user. Diff number 2 would be the XP GUI shell (explorer). Internally, unix has a monolithic kernel while XP has a microkernel (more or less). (Linux is also monolithic and this was the subject of a flamewar between Tovalds and Tennenbaum. Please remember our rules and do not start a flame war here. The thread will be quickly closed should that happen.) And a final large difference is the windows registry concept.

Your diagram does not strike me as correct. The shell should be a layer unto itself.

Swapping is moving entire processes into core or back to the swap area. At first Unix could swap but had no paging. After CPU's had MMU's paging became possible. Now unix pages all the the time and rarely swaps as a last resort. Some OS's (and I am thinking of HP-UX in particular) no longer swap at all. This leaves that swap area with a poor name! (Encrypted passwords have been removed from the password file too. Users rarely have home directories in /usr anymore. Unix has evolved a lot...)
 

8 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Modern Operating Systems: Tanenbaum

Chapters on Linux and Unix: http://www.prenhall.com/divisions/esm/app/author_tanenbaum/custom/mos2e/ Slides, figures, code, lots of goodies on-line! CHAPTER 10 CASE STUDY 1: UNIX AND LINUX 671 10.1. HISTORY OF UNIX 672 10.1.1. UNICS 672 ... (1 Reply)
Discussion started by: Neo
1 Replies

2. Filesystems, Disks and Memory

Operating Systems??

We are currently running two servers each with remote file systems mounted on each other. They need upgrading from Solaris 2.6 to 8. Does anyone know if there is a problem with having one server running Solaris 2.6 and the other v8?? Until we have time to upgrade them both. (2 Replies)
Discussion started by: hesmas
2 Replies

3. UNIX for Advanced & Expert Users

Opinions on db operating systems Wanted

I am interested in hearing anyones opinions on what OS they would choose to run a MySQl db and the reasons why, of course. I have a task to build a db server for a project that will be very busy if things work as the creative minds think that it will. I am running a FreeBSD box right now on... (0 Replies)
Discussion started by: smtpgeek
0 Replies

4. UNIX for Advanced & Expert Users

Where the operating systems are going

Dear administrators I want to post the following question and, honestly, I don't know in which forum to post it since its general meaning. my question is: Where the operating system are going? Microkernel, monolithich or hybrid ? Because this question involves more forums at the same but... (2 Replies)
Discussion started by: Puntino
2 Replies

5. UNIX for Dummies Questions & Answers

unix Operating Systems 5

Hi :) I have unix Operating Systems 5 I need working for user logout befor 10 minutes,In the case that he is not active :o what do I do? :rolleyes: (4 Replies)
Discussion started by: fakhwork
4 Replies

6. Fedora

Unix-based operating systems

Hello. I own a MacBook (black) running Leopard (Mac OS X 10.5.8), and I'm curious about a few things -- any help will be very, very much appreciated. I'm pretty much a newbie to Unix, although I have some very basic command-line skills with Mac OS X's Terminal. So while I know how to work the... (13 Replies)
Discussion started by: Tron55555
13 Replies

7. Programming

Does the assembler output differ between operating systems ?

The assembly code generated by assembler, from a C-source code depends on the CPU architecture underlying it, eg x-86 . Then does the assembler output of a simple C-source code (containing common function-calls of both windows and linux) differ between Operating Systems ? (1 Reply)
Discussion started by: vishwamitra
1 Replies

8. Google Chrome OS

Do we need many Operating Systems?

we have windows linux- redhat ubuntu -or more i don't know unix- solares snow-lepord and recently chrome what do you think well when i sow that all has extentions like exe -dsb i felt scared (1 Reply)
Discussion started by: Anna Hussie
1 Replies
swapon(2)							System Calls Manual							 swapon(2)

NAME
swapon() - add swap space for interleaved paging and swapping SYNOPSIS
Remarks The ANSI C "" construct denotes a variable length argument list whose optional and required members are given in the associated comment DESCRIPTION
The system call makes a block device or a directory named path available to the system for paging and swapping. priority indicates the order in which the swap space from the device or file system is used. It has a range of 0 (highest) to 10 (lowest). Space is taken from the lower-numbered systems first. can be used only by users who have appropriate privileges. If path names a block device file makes it available to the system at the specified priority for allocation for paging and swapping. In this form, takes only two arguments: the path to the block device file, and the priority. The device associated with path can be a device already known to the system, defined at system configuration time, or it can be a previ- ously unspecified device. If the device was already defined at system configuration time and also has a start and/or size defined for that swap device, these values are used. Otherwise, if a filesystem exists on the device, swap is added following the filesystem, or if no filesystem exists, the complete device is used for swap. See the appropriate system administrator's manual for information on how the size of the swap area is calculated. If path names a directory makes the blocks on the file system rooted at path available for paging and swapping. The min, limit, and reserve arguments are passed and used only if the path argument names a directory. min indicates the number of file system blocks to take from the file system when is called. limit indicates the maximum number of file system blocks the swap system is allowed to take from the file system. reserve indicates the number of file system blocks that are saved for file system use only. For a pre-existing directory swap, a value of -1 for min, limit, reserve, or priority will keep the value unchanged. This can be used to change selective values without affecting others. For example, if priority of a pre-existing directory swap needs to be changed without affecting the values of min, limit, or reserve, one can specify the new priority value and pass -1 for other arguments. The size for the file system blocks mentioned above is the preferred file system block size. The preferred file system block size can be obtained by the call. The value of min, limit, or reserve is rounded up to the tunable size. ERRORS
If fails, is set to one of the following values. A component of the path prefix denies search permission. One of priority, min, limit, or reserve arguments is invalid. The device associated with path already has swap turned on. The device associated with path is already in use. The device associated with path was specified at system configuration time to add swap at a specified location, but that location is within an existing file system on the device. The LIF header on the device associated with path contains inconsistent directory data. Unable to read the device associated with path. Too many symbolic links were encountered in translating the path name. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The device associated with path does not exist. The system-imposed limit on the number of swap file entries has been reached. There is is not enough available space on the specified file system or device. The device associated with path was specified at system configuration time to add swap following the file system, but no file system was found. The path argument is not a block special file or the root directory of a file system. A component of the path is not a directory. The device associated with path could not be opened. The effective user ID is not a user with appropriate privileges. The device associated with path is read-only. WARNINGS
On systems running VxVM 3.5, the swap volumes to be configured for system crash dumps should be created with the usage type as during the creation of the swap volume. Not doing so will cause a dump corruption. You could use the option of to do the same. No means is available to stop swapping to a device. The system allocates no less than the amount specified in min. However, to make the most efficient use of space, more than the amount requested might be taken from the file system. The actual amount taken will not exceed the number of file system blocks indicated in reserve. Swapping to a file system is usually slower than swapping to a device. Once file system blocks have been allocated for swap space, the file system can not be unmounted unless the system is rebooted. is the replacement for is to be obsoleted at a future date. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
swapon(1M), vxassist(1M), swapctl(2), privileges(5). TO BE OBSOLETED swapon(2)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy