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(8)						     Linux Programmer's Manual							 SWAPON(8)

NAME
swapon, swapoff - enable/disable devices and files for paging and swapping SYNOPSIS
Get info: swapon -s [-h] [-V] Enable/disable: swapon [-f] [-p priority] [-v] specialfile... swapoff [-v] specialfile... Enable/disable all: swapon -a [-e] [-f] [-v] swapoff -a [-v] DESCRIPTION
swapon is used to specify devices on which paging and swapping are to take place. The device or file used is given by the specialfile parameter. It may be of the form -L label or -U uuid to indicate a device by label or uuid. Calls to swapon normally occur in the system boot scripts making all swap devices available, so that the paging and swapping activity is interleaved across several devices and files. swapoff disables swapping on the specified devices and files. When the -a flag is given, swapping is disabled on all known swap devices and files (as found in /proc/swaps or /etc/fstab). -a, --all All devices marked as ``swap'' in /etc/fstab are made available, except for those with the ``noauto'' option. Devices that are already being used as swap are silently skipped. -e, --ifexists Silently skip devices that do not exist. -f, --fixpgsz Reinitialize (exec /sbin/mkswap) the swap space if its page size does not match that of the the current running kernel. mkswap(2) initializes the whole device and does not check for bad blocks. -h, --help Provide help. -L label Use the partition that has the specified label. (For this, access to /proc/partitions is needed.) -p, --priority priority Specify the priority of the swap device. priority is a value between 0 and 32767. Higher numbers indicate higher priority. See swapon(2) for a full description of swap priorities. Add pri=value to the option field of /etc/fstab for use with swapon -a. -s, --summary Display swap usage summary by device. Equivalent to "cat /proc/swaps". Not available before Linux 2.1.25. -U uuid Use the partition that has the specified uuid. -v, --verbose Be verbose. -V, --version Display version. NOTES
You should not use swapon on a file with holes. Swap over NFS may not work. swapon automatically detects and rewrites swap space signature with old software suspend data (e.g S1SUSPEND, S2SUSPEND, ...). The problem is that if we don't do it, then we get data corruption the next time an attempt at unsuspending is made. swapon may not work correctly when using a swap file with some versions of btrfs. This is due to the swap file implementation in the ker- nel expecting to be able to write to the file directly, without the assistance of the file system. Since btrfs is a copy-on-write file system, the file location may not be static and corruption can result. Btrfs actively disallows the use of files on its file systems by refusing to map the file. This can be seen in the system log as "swapon: swapfile has holes." One possible workaround is to map the file to a loopback device. This will allow the file system to determine the mapping properly but may come with a performance impact. SEE ALSO
swapon(2), swapoff(2), fstab(5), init(8), mkswap(8), rc(8), mount(8) FILES
/dev/sd?? standard paging devices /etc/fstab ascii filesystem description table HISTORY
The swapon command appeared in 4.0BSD. AVAILABILITY
The swapon command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Linux 1.x 25 September 1995 SWAPON(8)
All times are GMT -4. The time now is 01:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy