Computer Monitor




Computer Monitors and Display Technology
Because we use them daily, many of us have a lot of questions about our monitors and may not even realize it. What does "aspect ratio" mean? What is dot pitch? How much power does a display use? What is the difference between CRT and LCD? What does "refresh rate" mean?
Monitor01
Display Technology
Often referred to as a monitor when packaged in a separate case, the display is the most-used output device on a computer. The display provides instant feedback by showing you text and graphic images as you work or play.
Most desktop displays use liquid crystal display (LCD) or cathode ray tube (CRT) technology, while nearly all portable computing devices such as laptops incorporate LCD technology.
Because of their slimmer design and lower energy consumption, monitors using LCD technology (also called flat panel or flat screen displays) are replacing the venerable CRT on most desktops.
Standards and Resolution
Resolution refers to the number of individual dots of color, known as pixels, contained on a display. Resolution is expressed by identifying the number of pixels on the horizontal axis (rows) and the number on the vertical axis (columns), such as 800x600. Resolution is affected by a number of factors, including the size of the screen.
As monitor sizes have increased over the years, display standards and resolutions have changed. In addition, some manufacturers offer widescreen displays designed for viewing DVD movies.
Common Display Standards and Resolutions

Standard

Resolution

Typical Use

XGA (Extended Graphics Array)

1024x768

15- and 17-inch CRT monitors
15-inch LCD monitors

SXGA (Super XGA)

1280x1024

15- and 17-inch CRT monitors
17-and 19-inch LCD monitors

UXGA (Ultra XGA)

1600x1200

19-, 20-, 21-inch CRT monitors
20-inch LCD monitors

QXGA (Quad XGA)

2048x1536

21-inch and larger CRT monitors

WXGA (Wide XGA)

1280x800

Wide aspect 15.4-inch laptops
LCD displays

WSXGA+ (Wide SXGA plus)

1680x1050

Wide aspect 20-inch LCD monitors

WUXGA (Wide Ultra XGA)

1920x1200

Wide aspect 22-inch and larger LCD monitors

In addition to the screen size, display standards and resolutions are related to something called the aspect ratio.

Aspect Ratio and Viewable Area
Two measures describe the size of your display: the aspect ratio and the screen size. Historically, computer displays, like most televisions, have had an aspect ratio of 4:3. This means that the ratio of the width of the display screen to the height is 4 to 3.
For widescreen LCD monitors, the aspect ratio is 16:9 (or sometimes 16:10 or 15:9). Widescreen LCD displays are useful for viewing DVD movies in widescreen format, playing games and displaying multiple windows side by side. High definition television (HDTV) also uses a widescreen aspect ratio.
All types of displays include a projection surface, commonly referred to as the screen. Screen sizes are normally measured in inches from one corner to the corner diagonally across from it. This diagonal measuring system actually came about because the early television manufacturers wanted to make the screen size of their TVs sound more impressive.
Interestingly, the way in which the screen size is measured for CRT and LCD monitors is different. For CRT monitors, screen size is measured diagonally from outside edges of the display casing. In other words, the exterior casing is included in the measurement as seen below.
Monitor02
For LCD monitors, screen size is measured diagonally from the inside of the beveled edge. The measurement does not include the casing as indicated in the image below.
Monitor03
Because of the differences in how CRT and LCD monitors are measured, a 17-inch LCD display is comparable to a 19-inch CRT display. For a more accurate representation of a CRT's size, find out its viewable screen size. This is the measurement of a CRT display without its outside casing.
Popular screen sizes are 15, 17, 19 and 21 inches. Notebook screen sizes are smaller, typically ranging from 12 to 17 inches. As technologies improve in both desktop and notebook displays, even larger screen sizes are becoming available. For professional applications, such as medical imaging or public information displays, some LCD monitors are 40 inches or larger!
Obviously, the size of the display directly affects resolution. The same pixel resolution is sharper on a smaller monitor and fuzzier on a larger monitor because the same number of pixels is spread out over a larger number of inches. An image on a 21-inch monitor with an 800x600 resolution will not appear nearly as sharp as it would on a 15-inch display at 800x600.

Connections
To display information on a monitor, your computer sends the monitor a signal. The signal can be in analog or digital format.
Analog (VGA) Connection
Because most CRT monitors require the signal information in analog (continuous electrical signals or waves) form and not digital (pulses equivalent to the binary digits 0 and 1), they typically use an analog connection.
However, computers work in a digital world. The computer and video adapter convert digital data into analog format. A video adapter is an expansion card or component that provides the ability to convert display information into a signal that is sent to the monitor. It can also be called a graphics adapter, video card or graphics card.
Once the display information is in analog form, it is sent to the monitor through a VGA cable. The cable connects at the back of the computer to an analog connector (also known as a D-Sub connector) that has 15 pins in three rows. See the diagram below:
Monitor04

1: Red out

6: Red return (ground)

11: Monitor ID 0 in

2: Green out

7: Green return (ground)

12: Monitor ID 1 in
or data from display

3: Blue out

8: Blue return (ground)

13: Horizontal Sync out

4: Unused

9: Unused

14: Vertical Sync

5: Ground

10: Sync return (ground)

15: Monitor ID 3 in
or data clock

You can see that a VGA connector like this has three separate lines for the red, green and blue color signals, and two lines for horizontal and vertical sync signals. In a normal television, all of these signals are combined into a single composite video signal. The separation of the signals is one reason why a computer monitor can have so many more pixels than a TV set.
Because a VGA (analog) connector does not support the use of digital monitors, the Digital Video Interface (DVI) standard was developed.
DVI Connection
DVI keeps data in digital form from the computer to the monitor. There's no need to convert data from digital information to analog information. LCD monitors work in a digital mode and support the DVI format.
At one time, a digital signal offered better image quality compared to analog technology. However, analog signal processing technology has improved over the years and the difference in quality is now minimal.
The DVI specification is based on Silicon Image's Transition Minimized Differential Signaling (TMDS) and provides a high-speed digital interface. A transmitter on the video adapter sends the digital information to a receiver in the monitor.
TMDS takes the signal from the video adapter, determines the resolution and refresh rate that the monitor is using, and spreads the signal out over the available bandwidth to optimize the data transfer from computer to monitor.
DVI cables can be a single link cable that uses one TMDS transmitter or a dual link cable with two transmitters. A single link DVI cable and connection supports a 1920x1080 image, and a dual link cable/connection supports up to a 2048x1536 image.
Monitor06
There are two main types of DVI connections:
• DVI-digital (DVI-D) is a digital-only format. It requires a video adapter with a DVI-D connection and a monitor with a DVI-D input. The connector contains 24 pins/receptacles in 3 rows of 8 plus a grounding slot for dual-link support. For single-link support, the connector contains 18 pins/receptacles.
• DVI-integrated (DVI-I) supports both digital and analog transmissions. This gives you the option to connect a monitor that accepts digital input or analog input. In addition to the pins/receptacles found on the DVI-D connector for digital support, a DVI-I connector has 4 additional pins/receptacles to carry an analog signal.

Monitor07
DVI-D connectors carry a digital-only signal and DVI-I adds four pins for analog capability. Both connectors can be used with a single-link or a dual-link cable, depending upon the requirements of the display.

If you buy a monitor with only a DVI (digital) connection, make sure that you have a video adapter with a DVI-D or DVI-I connection. If your video adapter has only an analog (VGA) connection, look for a monitor that supports the analog format.

Color Depth
The combination of the display modes supported by your graphics adapter and the color capability of your monitor determine how many colors it displays. For example, a display that operates in SuperVGA (SVGA) mode can display up to 16,777,216 (usually rounded to 16.8 million) colors because it can process a 24-bit-long description of a pixel. The number of bits used to describe a pixel is known as its bit depth.
With a 24-bit bit depth, eight bits are dedicated to each of the three additive primary colors -- red, green and blue. This bit depth is also called true color because it can produce the 10,000,000 colors discernible to the human eye, while a 16-bit display is only capable of producing 65,536 colors. Displays jumped from 16-bit color to 24-bit color because working in eight-bit increments makes things a whole lot easier for developers and programmers.
Simply put, color bit depth refers to the number of bits used to describe the color of a single pixel. The bit depth determines the number of colors that can be displayed at one time. Take a look at the following chart to see the number of colors different bit depths can produce:

Bit-Depth

Number of Colors

1

2
(monochrome)

2

4
(CGA)

4

16
(EGA)

8

256
(VGA)

16

65,536
(High Color, XGA)

24

16,777,216
(True Color, SVGA)

32

16,777,216
(True Color + Alpha Channel)

Notice that the last entry in the chart is for 32 bits. This is a special graphics mode used by digital video, animation and video games to achieve certain effects. Essentially, 24 bits are used for color and the other eight bits are used as a separate layer for representing levels of translucency in an object or image. Nearly every monitor sold today can handle 24-bit color using a standard VGA connector.
To create a single colored pixel, an LCD display uses three subpixels with red, green and blue filters. Through the careful control and variation of the voltage applied, the intensity of each subpixel can range over 256 shades. Combining the subpixels produces a possible palette of 16.8 million colors (256 shades of red x 256 shades of green x 256 shades of blue).

LCD Monitors
The Basics
Liquid crystal display technology works by blocking light. Specifically, an LCD is made of two pieces of polarized glass (also called substrate) that contain a liquid crystal material between them. A backlight creates light that passes through the first substrate.
At the same time, electrical currents cause the liquid crystal molecules to align to allow varying levels of light to pass through to the second substrate and create the colors and images that you see.
Active and Passive Matrix Displays
Most LCD displays use active matrix technology. A thin film transistor (TFT) arranges tiny transistors and capacitors in a matrix on the glass of the display. To address a particular pixel, the proper row is switched on, and then a charge is sent down the correct column.
Since all of the other rows that the column intersects are turned off, only the capacitor at the designated pixel receives a charge. The capacitor is able to hold the charge until the next refresh cycle.

Monitor08
flat-panel display

The other type of LCD technology is passive matrix. This type of LCD display uses a grid of conductive metal to charge each pixel. Although they are less expensive to produce, passive matrix monitors are rarely used today due to the technology's slow response time and imprecise voltage control compared to active matrix technology.

LCD Features and Attributes
To evaluate the specifications of LCD monitors, here are a few more things you need to know.
Monitor09
Native Resolution
Unlike CRT monitors, LCD monitors display information well at only the resolution they are designed for, which is known as the native resolution. Digital displays address each individual pixel using a fixed matrix of horizontal and vertical dots. If you change the resolution settings, the LCD scales the image and the quality suffers. Native resolutions are typically:
• 17 inch = 1024x768
• 19 inch = 1280x1024
• 20 inch = 1600x1200
Viewing Angle
When you look at an LCD monitor from an angle, the image can look dimmer or even disappear. Colors can also be misrepresented. To compensate for this problem, LCD monitor makers have designed wider viewing angles.
(Do not confuse this with a widescreen display, which means the display is physically wider.) Manufacturers give a measure of viewing angle in degrees (a greater number of degrees is better). In general, look for between 120 and 170 degrees.
Because manufacturers measure viewing angles differently, the best way to evaluate it is to test the display yourself. Check the angle from the top and bottom as well as the sides, bearing in mind how you will typically use the display.
Brightness or Luminance
This is a measurement of the amount of light the LCD monitor produces. It is given in nits or one candelas per square meter (cd/m2). One nit is equal to on cd/m2. Typical brightness ratings range from 250 to 350 cd/m2 for monitors that perform general-purpose tasks. For displaying movies, a brighter luminance rating such as 500 cd/m2 is desirable.
Contrast Ratio
The contrast ratio rates the degree of difference of an LCD monitor's ability to produce bright whites and the dark blacks. The figure is usually expressed as a ratio, for example, 500:1. Typically, contrast ratios range from 450:1 to 600:1, and they can be rated as high as 1000:1. Ratios more than 600:1, however, provide little improvement over lower ratios.
Response Rate
The response rate indicates how fast the monitor's pixels can change colors. Faster is better because it reduces the ghosting effect when an image moves, leaving a faint trial in such applications as videos or games.
Adjustability
Unlike CRT monitors, LCD monitors have much more flexibility for positioning the screen the way you want it. LCD monitors can swivel, tilt up and down, and even rotate from landscape (with the horizontal plane longer than the vertical plane) to portrait mode (with the vertical plane longer than the horizontal plane). In addition, because they are lightweight and thin, most LCD monitors have built-in brackets for wall or arm mounting.
Besides the basic features, some LCD monitors have other conveniences such as integrated speakers, built-in Universal Serial Bus (USB) ports and anti-theft locks.
LCD Terms
• Bezel - This is the metal or plastic frame surrounding the display screen. On LCD displays, the bezel is typically very narrow.
• Contrast ratio - The difference in light intensity between white and black on an LCD display is called contrast ratio. The higher the contrast ratio, the easier it is to see details.
• Ghosting - An effect of slower response times that cause blurring of images on an LCD monitor, it's also known as latency. The effect is caused by voltage temporarily leaking from energized elements to neighboring, non-energized elements on the display.
• Luminance - Also known as brightness, it is the level of light emitted by an LCD display. Luminance is measured in nits or candelas per square meter (cd/m2). One nit is equal to one cd/m2.
• Native resolution - This actual measurement of an LCD display, in pixels, is given in horizontal by vertical order.
• Response time - The speed at which the monitor's pixels can change colors is called response time. It is measured in milliseconds (ms).
• Stuck pixels - A pixel that is stuck either 'on' or 'off', meaning that it is always illuminated, unlit, or stuck on one color regardless of the image the LCD monitor displays can also be called a dead pixel.
• VESA mount - With this, you can mount a monitor on a desk or wall. It meets recommendations of the Video Electronics Standards Association (VESA).
• Viewing angle - It's the degree of angle at which you can view the screen from the sides (horizontal angle) and top/bottom (vertical angle) and continue to see clearly defined images and accurate colors.

Disk Defragmenter




Introduction to Disk Defragmentation
As advanced as hard drives have become, one item they are not very good at is housekeeping, or maybe that should be drive keeping. When files are created, deleted, or modified it's almost a certainty they will become fragmented. Fragmented simply means the file is not stored in one place in its entirety, or what computer folks like to call a contiguous location. Different parts of the file are scattered across the hard disk in noncontiguous pieces. The more fragmented files there are on a drive, the more performance and reliability suffer as the drive heads have to search for all the pieces in different locations. The Disk Defragmenter Utility is designed to reorganize noncontiguous files into contiguous files and optimize their placement on the hard drive for increased reliability and performance.

Why Defrag Disk?
Fragmentation is caused by creating and deleting files and folders, installing new software, and downloading files from the Internet. Computers do not necessarily save an entire file or folder in a single space on a disk; they're saved in the first available space. After a large portion of a disk has been used, most of the subsequent files and folders are saved in pieces across the volume.
When you delete files or folders, the empty spaces left behind are filled in randomly as you store new ones. This is how fragmentation occurs. The more fragmented the volume is, the slower the computer's file input and output performance will be.
Defragmentation is the process of rewriting non-contiguous parts of a file to contiguous sectors on a disk for the purpose of increasing data access and retrieval speeds. Because FAT and NTFS disks can deteriorate and become badly fragmented over time, defragmentation is vital for optimal system performance.

Using Disk Defrag on Windows XP
Accessing Disk Defragmenter

• Start | All Programs | Accessories | System Tools | Disk Defragmenter
• Start | Run | and type dfrg.msc in the Open line. Click OK
• Start | Administrative Tools | Computer Management. Expand Storage and select Disk Defragmenter
The first two methods take you to a standalone window containing Disk Defragmenter. The last method opens Microsoft Management Console and displays Disk Defragmenter as one of the snap-in modules. In all cases, a window similar to the one below will be displayed.;
windows xp
When Disk Defragmenter first opens (Fig. 01) you'll see a list of the hard drives displayed at the top of the screen. The Estimated Disk Usage Before Defragmentation and Estimated Disk Usage After Defragmentation will be blank until a drive is selected and the Analyze button is clicked. In the screen shot above, I've already analyzed the drives as evidenced by the Session Status showing as Analyzed and the Estimated Disk Usage Before Defragmentation area containing a graphical representation of the drive fragmentation.
degragment button
After the Analyze button has been clicked and the process completes the window shown above (Fig. 02) opens with a brief recommendation of what action Disk Defragmenter thinks should be taken regarding the drive. It's important to note that this is just a recommendation based on the percentage of fragmented files to total files and doesn't prevent the drive from being defragmented if you feel it needs to be done and might improve system performance. If you want to go ahead and defragment without more information, click the Defragment button. If you're in agreement with their recommendation and don't want to defragment, click the Close button. Click the View Report button to view a more detailed drive analysis.
analysis report
An Analysis Report contains quite a bit of additional information about the selected drive. The report shown above (Fig. 03) details the File Fragmentation status of drive New Volume (D:). The top pane provides Volume information, and as you can see there are 3,851 fragmented files. This may not seem like many fragmented files, but consider that this is only a 29GB drive, which is very small by today's standards, and that 97% of the total drive space is currently unused. Look at the Average Fragments Per File number of 1.04 and this tells you that approximately 4% of the files on the drive are in two or more pieces. My experience has been that when this number reaches 1.05 the message in the quick analysis window (Fig. 02) will recommend defragmenting the drive. The bottom pane, Most Fragmented Files, lists the files in descending order that are the most fragmented.
Click on Defragment button to Defrag the drive.
drive
You can see the status of Defragmentation in the status bar.
status
Disk defragmentation is now complete, click on View Report button to view the Defragmentation Report.
defrag report
analize
In spite of the recommendation not to defragment this particular disk, I went ahead and clicked the Defragment button. The results of that choice are shown above (Fig. 04) in the Estimated Disk Usage After Defragmentation section. The graphical representation clearly shows that not only have the red lines depicting fragmented files been eliminated, many of the contiguous files indicated by the blue have been repositioned toward the beginning of the drive, reducing the amount of searching the drive heads have to do to locate a file. The drive in this example is not a system drive, nor does it have a paging file which would be indicated by the lime green Unmovable Files color.
After the defragmentation process completes, clicking the View Report button will bring up the Defragmentation Report (Fig. 05). It takes the exact same form as the Analysis Report (Fig. 03) but shows the post defragmentation results. The Total Files and Average File Size remain identical, but notice that Total Fragmented Files and Total Excess Fragments have been reduced to zero (0) and the Average Fragments Per File is now 1.00, indicating most or all of the files are contiguous. In addition, there are no files listed that did not defragment.

Re-install Windows XP Without CD

img


Step-by-step
Sometimes manufacturers do not include the Windows XP Operating System CD when you first buy your new computer. This how-to will explain how to reinstall the Windows XP operating system (with similar rules applying to its predecessors) without the need of the Windows XP CD.
1. Understand that after a while your computer will start to slow down, freeze and sometimes not even shut down correctly. These symptoms are perfectly normal for operating systems that require a clean, fresh start. But sometimes manufacturers do not include a copy of the operating system on a disk to save you money when purchasing your computer and ultimately save them money too.
2. Access the copy of the operating system on the hard drive. If manufacturers do not supply a Windows XP OS (Operating System) CD with the purchase of your new computer, they have most definitely stored a copy in your hard drive for later use. You can easily access this copy of the CD on your hard drive to completely reinstall or format partitions on your computer.
3. Make sure you have your Windows product key/serial number. This could be located on the computer itself, or in the original packaging it was supplied with. If you do not have one, contact your manufacturer immediately for more support regarding the issue.
4. Access path C:\WINDOWS in My Computer. Find a folder named "i386". If you can’t find this folder please see the Tips & Warning section. [Remember you can find this folder only if manufacturer has stored a copy of OS on your Computer]Open it.
This is the a part where a lot of people get confused. They realize that a copy of there Windows OS CD is here, but they look for the incorrect files. Most people will try to find a file named "Setup", "Install", or "Windows". The file you are looking for is called "winnt32.exe".
5. Open this application and proceed with the instructions given. It will lead you through 5 simple phases that will wipe out your computer and reinstall the operating system.
6. Get your product key ready to enter it. Make sure you agree with the terms that should be provided when using the winnt32.exe application.
7. If you are using any operating system below Windows 2000 or Me, try looking for the winnt.exe application as the winnt32.exe application may not be availible for your version of the Windows OS in the I386 folder.
Winnt.exe uses a command driven interface, and therefore requires simple commands to use to reinstall windows or format partitions.
You can find these simple commands at Microsoft’s website :
[http://www.microsoft.com/technet/prodtechnol
/windows2000serv/reskit/deploy/dghm_stp_codt.mspx?mfr=true]

Tips & Warnings
• Make sure you close any unnecessary software and applications that run in the system tray like Windows Live Messenger, Yahoo! Instant messenger and others, before using winnt32. This should speed up the whole process.
• Make sure you have backed up all of your files before you clean out your computer.
• Make sure you have all the required softwares on CD to reinstall the drivers that will be wiped out.
• For some of the lower versions (operating systems) of the Windows franchise, you may wish to use the winnt.exe application instead which will use the Command Prompt application and require certain commands to operate. The Winnt32.exe application may not be available for those who use any OS below Windows 2000/Me.
• If you are having trouble finding the folder, download WinACCESS, it searches your Windows folder for the Windows CD and executes it straight from your hardrive. This small software can also proove useful if the manafacturers installed it to a different location (which in many cases is unlikely).
Warnings
• All drivers will be wiped clean. That includes graphic cards, audio drivers, wireless drivers, etc. Make sure your manufacturers has supplied you with the correct softwares to reinstall the drivers that will be lost on reinstallation of the OS.
• Do not forget to back up all of your data with a system restore tool, or else everything will be lost. This means all software and programs currently installed on the computer.
• Remember Microsoft will not take any responsibility for anything that may go wrong and cause damage to your computer system.
• If the I386 folder or Winnt32.exe/Winnt.exe application does not exist, or you cannot find it, use the Search feature to help you (Start>Search). If it does not wield any results, a copy of the CD may not have been stored on your hard drive. Contact your manufacturer for more support.

Digital Right Management (DRM)




Introduction to DRM
In 2005, Sony sold millions of "special" music CDs to consumers who thought they were getting regular old compact discs. When people played these CDs on their computer, what happened in many cases was the equivalent of a spyware nightmare: Programs froze up, applications slowed and a series of hidden files that were the source of the problem proved to be nearly impossible to uninstall. Why would Sony do this to its customers?
The answer is "to protect its copyright." The digital revolution that has empowered consumers to use digital content in new and innovative ways has also made it nearly impossible for copyright holders to control the distribution of their property. Enter "digital rights management," or DRM. In this article, we'll find out what DRM is, how copyright holders are implementing the concept and what the future holds for digital content control.
DRM Basics
Digital rights management is a far-reaching term. It encompasses any scheme to control access to copyrighted material using technological means. In essence, DRM removes usage control from the person in possession of digital content and puts it in the hands of a computer program. The applications and methods are endless -- here are just a few examples of digital rights management:
DRM
• A company sets its servers to block the forwarding of sensitive e-mail.
• An e-book server restricts access to, copying and printing of material based on constraints set by the copyright holder of the content.
• A movie studio includes software on its DVDs that limits the number of copies a user can make to two.
• A music label releases titles on a type of CD that includes bits of information intended to confuse ripping software.
While many consumers see DRM methods as overly restrictive -- especially those methods employed by the movie and music industries -- digital rights management is nonetheless trying to solve a legitimate problem. The distribution of digital content over the Internet via file-sharing networks has made traditional copyright law obsolete in practice. Every time someone downloads an MP3 file of a copyrighted song from a free file-sharing network instead of buying the CD, the music label that owns the copyright and the artist who created the song lose money. In the case of the movie industry, some estimates place revenue losses from illegal distribution of DVD content at around $5 billion a year. The nature of the Internet makes it impractical to try to sue every person who breaks the law in this way, so companies are trying to regain control of distribution by making it technologically impossible for consumers to make digital copies.
The problem is that when you buy a DVD, it's perfectly legal for you to make a copy of it for your own use. This is the gist of the fair use doctrine in copyright law -- there are certain situations that negate copyright protection in favor of the content user, including copying protected material for personal use and copying anything in the public domain for any use. Most digital rights management schemes cannot take fair use into account, because a computer program cannot make subjective decisions. In 2005, a French court ruled that DRM-encoded DVDs that make copying impossible violate fair use laws because the rightful owner of that DVD cannot make a copy for his own use.
Before we get further into the DRM controversy, let's take a step back and find out what a DRM scheme entails from a programming standpoint.

DRM Framework
The ideal DRM system is flexible, entirely transparent to the user and pretty complex stuff for a computer program to handle. First-generation DRM software sought merely to control copying. Second-generation DRM schemes are in their infancy right now and seek to control viewing, copying, printing, altering and everything else you can possibly do with digital content.
A digital rights management scheme operates on three levels: establishing a copyright for a piece of content, managing the distribution of that copyrighted content and controlling what a consumer can do with that content once it has been distributed. To accomplish this level of control, a DRM program has to effectively define and describe three entities -- the user, the content and the usage rights -- and the relationship between them.
Let's take the example of a simple DRM scheme for an MP3-download site. Rani logs on to a site she subscribes to in order to download EBIZ.com’s "Everything is Everything." Rani's subscription level entitles her to five downloads per month. In this case, the user is Rani , and the content is EBIZ.com’s "Everything is Everything." Identifying the user and the content are fairly simple tasks. Rani probably has a customer ID number, and each MP3 file on the site probably has a product number associated with it. The harder part is identifying the rights -- the ways in which Rani is and is not allowed the use "Everything is Everything." Can she download it, or has she already downloaded her five files for the month? Can she copy it, or is she downloading an encrypted file and a corresponding key? Can she excerpt a piece of the song to use in her own audio-mixing software, or is the file locked? Usage rights include not only permissions and constraints, but also any obligations related to the transaction -- for example, s Rani need to pay extra for this download? Has Rani been promised a savings pass if she downloads this song? This would be included in the relationship between Rani, the song and the rights.
Let's say Rani has only downloaded three files so far this month, so this download is within her subscription rights. And let's say she received a promotional offer for Rs. 1 off next month's subscription fee if she downloads this song. Rani should be able to copy the file under fair use, but maybe she can only make three copies. And let's say the copyright holder denies anyone the right to excerpt its digital content. The DRM structure for this download might look something like this:
DRM Protection
Keep in mind that while the user entity stays the same each time Rani logs on to the site, the relationship between the user, the content and the rights can change. The DRM scheme must be able to adapt to changing conditions. If Rani increases her subscription level to one that allows unlimited downloads instead of only five downloads per month, the DRM software has to adjust to that new relationship. The DRM scheme has to be tied in to the Web site's back-end infrastructure so it can adjust the relationship on the fly. This is one reason why seamless DRM setups are difficult to implement: With no standards to go on and a set of commands not found in any other type of computer program (see "Rights Expression Language" sidebar), digital rights management software sn't easily blend in with existing e-commerce architecture. Still, arguably the easiest transaction to control is a download from a Web site. The hard part is controlling what a user s with digital content once it's in her possession. How is the download site going to enforce Rani usage rights? How do they know she's only going to make two copies of the file? This is where DRM can get sticky.

DRM Reality
It's a pretty simple thing to allow Ravish to copy "Everything is Everything" only twice. Computers understand "2." What they don't understand is, "I've already copied it to my MP3 player and my laptop, but I got a new desktop computer and I need to transfer it again!"
DRM
"Fair use" is not something that's easily digitized. Many companies have taken desperate measures to "plug the hole" of digital content flowing over the Internet, eliminating any right on the part of the consumer to make decisions regarding the content he's purchased. DRM is not a new thing -- many of those old floppy disks were copy-protected. Manufacturers wrote them using special drives that a typical consumer drive couldn't mimic. Some required that a piece of hardware be connected to an I/O port on the computer for the software to run at all. But to many, more recent DRM schemes have crossed the line from copy protection to hog-tying the user.
The limited-use encryption method used in Intuit's Quicken TurboTax 2002 caused a consumer brouhaha. When the user installed the encrypted software, the process installed a key on the user's computer. That's a standard practice. But this particular key would only unencrypt the software once. To use the software more than once, the user had to call Intuit and get the company to supply additional access rights. When users installed the software on a second machine after they'd already used the key, they found that they could prepare a tax return but could neither print the return nor file it electronically with the IRS.
A more common DRM encryption scheme provides a key that works forever. In this case, the key must be tied to the ID number of the user's machine. The key will only decode the file when it's accessed from the computer it was originally installed on. Otherwise, the user could simply forward the key along with the encrypted software to everyone he knows.
Some products, like those protected by Macrovision SafeCast or Microsoft Product Activation, use a Web-based permission scheme to prevent illegal use of the content. When a user installs the software, his computer contacts a license-verification server to get permission (the access key) to install and run a program. If the user's computer is the first to request permission to install this particular piece of software, the server returns the key. If the user gives the software to his friend and the friend tries to install it, the server will deny access. In this type of scheme, a user typically has to contact the content provider to get permission to install the software on another machine.
A less common DRM method is the digital watermark. If you've heard about the FCC's proposed broadcast flag and Philips' corresponding Video Content Protection System (VCPS) encoding, you've been introduced to the digital watermark setup. The FCC is trying to require a "broadcast flag" that lets a digital video recorder know if it's allowed to record a program or not. The flag is a piece of code sent out with a digital video signal. If the broadcast flag says a program is protected, a DVR or DVD recorder won't be able to record it. This DRM proposal is one of more disruptive ones out there, because it requires media and equipment that can read the broadcast flag. This is where Philips' VCPS format comes in. The Video Content Protection System reads the FCC broadcast flag and determines whether or not a device can record a program. With the broadcast flag in effect, only VCPS-capable recorders will record digital TV data, only VCPS-capable DVD-RWs will accept digital TV data and only VCPS-cable players will play VCPS-capable DVDs. The system would render current DVD systems obsolete for any consumer who wants to record DTV. The flag/VCPS setup is on hold since May 2005 when a U.S. court ruled that the FCC doesn't have the right to determine what a consumer device can do with a digital signal once it has reached its destination.
The DRM-provider Macrovision used an interesting approach in one of its recent DVD-protection products. Instead of making a DVD uncopyable, Macrovision RipGuard exploits glitches in DVD ripping software to prevent copying. It's a piece of code in the software on a DVD, and it's purpose is to confuse the DeCSS code that most ripping software is based on. Macrovision programmers studied DeCSS to discover its flaws and then built RipGuard to trigger those flaws and shut down the copying process. DVD consumers have already found ways around RipGuard, though, mostly by using ripping software that doesn't employ DeCSS or by tweaking the code in DeCSS-based rippers. The Digital Millennium Copyright Act of 1998 makes disabling a DRM system illegal in the United States, but tons of people actively seek and publish methods to bypass DRM restrictions.
Recent DRM schemes have set up an adversarial relationship between digital-content providers and digital-content consumers, and it's not only the consumers who are employing sneaky techniques to get the upper hand. The reason most of us are suddenly aware of DRM systems is because Sony-BMG released millions of CDs containing DRM software that crossed the line from managing rights to spying on consumers and harming their equipment.

DRM Controversy
The Sony-BMG Debacle
In 2005, Sony-BMG distributed select CDs (one estimate puts the number of titles at 20) that led to lawsuits, backtracking and a public-relations nightmare. The problem stemmed from two pieces of software on the CDs: SunnComm's MediaMax and First4Internet's Extended Copy Protection (XCP). The incident has raised questions regarding just how far copyright holders are allowed to go to protect their content. In this case, copy protection was the least of people's concerns.
In the first place, the MediaMax software doesn't protect a copyright at all. It tracks users' activities. Every time someone plays the "special" CD on his PC, MediaMax sends a message to the SunnComm server. Sony-BMG can find out who's listening to the CD and how often they listen to it. And this is all happening behind the scenes -- there are no obvious signs of the activity or disclaimers on the CD. To make matters worse, there's no easy way to uninstall it.
The other problem is a bigger one. First4Internet's Extended Copy Protection limits the number of copies a person can make of the CD to three -- this might be annoying, but it's arguably within the "copyright protection" realm. The XCP uproar is primarily about the software's other activities. First, it hides in the user's machine so the user doesn't know it's there and probably can't find it if she looks. It creates a hidden area (sometimes called a rootkit) in the Windows operating system that could potentially pose a security risk once virus writers find out it's there. A virus could live there undetected indefinitely. Virus scanners typically can't see the files in a rootkit. XCP also slows computing processes and automatically connects to the Sony-BMG server to install copy-protection updates. And there's no easy way to uninstall it. Some users had to reformat their hard drive to get rid of the files and their negative effects.
Sony recalled the millions of discs with this DRM software combination built in and has agreed to issue tools that make the hidden files visible. Lawyers have filed several class-action lawsuits on the basis that the CDs invade users' privacy and violate anti-spyware legislation. The Sony-BMG mistake is easily the most visible example of DRM gone awry, but digital rights management in general -- even the kind that doesn't invade a user's privacy and cripple her computer -- poses some serious conflicts.
DRM Standards
DRM
There are no industry-wide standards for DRM. At this point, many companies in the digital entertainment sector are opting for the crude, "because I said so" approach in which users can't copy, print, alter or transfer material, period. The area of most concern to activists regarding DRM has to do with the fact that current DRM trends surpass the protections afforded under traditional copyright law. For example, when you play a DVD that won't let you skip the trailers, that has nothing to do with protecting a copyright. Even more than consumers, though, libraries and educational institutions that archive and lend digital content have a lot to lose if highly restrictive DRM software becomes the norm. A library can't archive a piece of software with a time-limited encryption key, and it can't lend out a machine-specific license for viewing content using its traditional lending structure.
The arguments against digital rights management discuss issues like user privacy, technological innovation and fair use. Under copyright law, the fair use doctrine gives a consumer the right to make copies of copyrighted content for their own use. Other doctrines like "first sale," the right of a content purchaser to resell or give away the content he's purchased, and "limited term," the expiration of a copyright after a certain period of time, also afford consumers rights that fall by the wayside in DRM implementation. As we saw in the Sony-BMG error in judgement, secretly tracking consumer activities and hiding files on a user's computer invade user privacy -- they're the methods of a spyware application, not a legitimate rights management scheme. DRM systems can also affect technological innovation as it limits the use and form of digital content. Third-party vendors can't develop software-specific products and plug-ins if the computer code in that software is indefinitely protected by DRM, and consumers can't legally tinker with their own hardware if it's protected by a DRM scheme that prohibits alteration.
As Princeton University professor Ed Felten discovered, DRM affects not only technological freedom of development, but also freedom of speech. When Felten tried to publish an article on a faulty DRM system in 2001, members of the music industry threatened him with lawsuits. Several companies said that his research would assist people in bypassing DRM schemes, which is illegal in the United States. The Digital Millennium Copyright Act of 1998 ensures the protection of a DRM scheme regardless of whether or not it respects the fair use doctrine. It's not only illegal to get around DRM, but it's also illegal to create, purchase or download any product that enables you to bypass DRM restrictions. Consumer rights' groups are lobbying Congress to amend the section of the Digital Millennium Copyright Act that makes disabling a DRM system against the law, claiming that it gives an improper advantage to copyright holders by not placing limits on the type of DRM schemes they can employ.
In the increasingly embattled realm of digital content, we're left to wonder whether any DRM system can satisfy both copyright holders and consumers. As DRM becomes standardized across industries, the result will be what experts call "trusted computing." In this setup, DRM methods will ensure the protection of copyrighted content along each step of the way, from the production or upload process to the purchase or download to the use of the digital content once it's in the user's hands. Computers will know automatically what a user is legally allowed to do with a piece of content and will act accordingly. With the adoption of standards, consumers will be better off at least in part, because DRM-encoded media will play on all types of equipment. As far as user rights go, however, it doesn't look good for consumers. Their best bet is the chance that programmers will somehow quantify "fair use" so that computers can understand the concept.

How To Compress A File ??




Introduction
In computer science and information theory, data compression or source coding is the process of encoding information using fewer bits (or other information-bearing units) than an unencoded representation would use through use of specific encoding schemes.
For example, this article could be encoded with fewer bits if one were to accept the convention that the word "compression" be encoded as "comp." One popular instance of compression with which many computer users are familiar is the ZIP file format, which, as well as providing compression, acts as an archiver, storing many files in a single output file.
As with any communication, compressed data communication only works when both the sender and receiver of the information understand the encoding scheme. For example, this text makes sense only if the receiver understands that it is intended to be interpreted as characters representing the English language. Similarly, compressed data can only be understood if the decoding method is known by the receiver.
Compression is useful because it helps reduce the consumption of expensive resources, such as hard disk space or transmission bandwidth. On the downside, compressed data must be decompressed to be viewed (or heard), and this extra processing may be detrimental to some applications.
For instance, a compression scheme for video may require expensive hardware for the video to be decompressed fast enough to be viewed as it's being decompressed (the option of decompressing the video in full before watching it may be inconvenient, and requires storage space for the decompressed video).
The design of data compression schemes therefore involves trade-offs among various factors, including the degree of compression, the amount of distortion introduced (if using a lossy compression scheme), and the computational resources required to compress and uncompress the data.
By compressing, you "zip" the file so that it is smaller and requires less disk space. Zipping a file is especially helpful if you are planning to send the file as an e-mail attachment or transfer it to another computer.

Compressing File with WinZip
Steps
Step One - Open WinZip.
Step Two- Click on the New icon. A window will open displaying the folders on your disk.
Step Three - Move through the folders until you locate the folder where you want to store your compressed file.
Step Four- WinZip creates a file called an "archive." Name your archive.
Step Five- Click Save. You will be returned to the WinZip main window.
Step Six- You must now add a file to the archive that you have just created. Click on Add. A window will open displaying the files and folders on your disk.
Step Seven- Move through the folders until you locate the file that you want to compress. Select that file.
Step Eight- In the compression menu, select the level of compression that you want. The choices may include Normal, None, Fast, Superfast and Maximum.
Step Nine- Add an optional password, if desired.
Step Ten- Click Add. You will return to the main WinZip menu.
Step Eleven- Your compressed file is now added to the archive.
Step Twelve- Close WinZip
Tips & Warnings
• If you have configured your WinZip to display the number of bytes before and after compression, you will be able to see your savings in the WinZip window after you have added the file.

• If you transfer your zipped file (archive) to another computer, the file will not open unless there is a decompression utility installed on that computer.(It doesn't need to be WinZip. Check with your recipient to see what kind of compression software he or she uses and what formats the software can decompress.)


Compressing file in Windows XP
Windows XP comes with a built in file compression/ ZIP creation utility. This utility can also be used to Create ZIP Archives and UnZIP zip files.
Creating a ZIP folder with Windows XP
Follow these simple steps to create a ZIP file with Windows XP:
1. Select the file(s)/folder(s) that you want to add to ZIP then Right-Click and select Compressed (zipped) folder from Send To menu from the shortcut menu:
Windows XP
Note: You can use Ctrl+ Click to select multiple files and in case you have multiple files selected then use Ctrl + Right-Click instead of Right-Click
As you can see Windows XP has created a compressed the selected folders in a zip archive.
file_compress
UnZIPping contents from compressed folder
Follow these steps to unzip content from ZIP archive in Windows XP:

1. Select the archive that you want to UnZip and Right-Click on the archive.

2. Select Extract All option from the shortcut menu.
oooo
3. Compressed Folder Extraction Wizard will be displayed. Click on Next to Continue with the wizard.
Wizard
Select the location where you want to keep the extracted contents and Click on Next to extract the contents.
Wizard01
Wizard02
Wizard has successfully extracted the contents of the ZIP to the selected location, now Click on to complete the wizard and view the extracted contents.

Hard Disk

Know What is inside your Computer Hard Disk @ http://education.ebizel.com


Introduction
Nearly every desktop computer and server in use today contains one or more hard-disk drives. Every mainframe and supercomputer is normally connected to hundreds of them. You can even find VCR-type devices and camcorders that use hard disks instead of tape. These billions of hard disks do one thing well -- they store changing digital information in a relatively permanent form. They give computers the ability to remember things when the power goes out.
Here, we'll take apart a hard disk so that you can see what's inside, and also tell you how they organize the gigabytes of information they hold in files!
PC Hard Disk

Hard Disk Basics
Hard disks were invented in the 1950s. They started as large disks up to 20 inches in diameter holding just a few megabytes. They were originally called "fixed disks" or "Winchesters" (a code name used for a popular IBM product). They later became known as "hard disks" to distinguish them from "floppy disks." Hard disks have a hard platter that holds the magnetic medium, as opposed to the flexible plastic film found in tapes and floppies.
The commercial usage of hard disk drives began in 1956 with the shipment of an IBM 305 RAMAC system including a IBM Model 350 disk storage.
For many years, hard disk drives were large, cumbersome devices, more suited to use in the protected environment of a data center or large office than in a harsh industrial environment (due to their delicacy), or small office or home (due to their size and power consumption). Before the early 1980s, most hard disk drives had 8-inch (actually, 210 - 195 mm) or 14-inch platters, required an equipment rack or a large amount of floor space (especially the large removable-media drives, which were frequently were comparable in size to "washing machines"), and in many cases needed high-amperage and/or three-phase power hookups due to the large motors they used. Because of this, hard disk drives were not commonly used with microcomputers until after 1980, when Seagate Technology introduced the ST-506, the first 5.25-inch hard drive, with a formatted capacity of 5 megabytes.
The capacity of hard drives has grown exponentially over time. With early personal computers, a drive with a 20 megabyte capacity was considered large. As of early 2007, desktop hard disk drives typically have a capacity of 100 to 500 gigabytes, while the largest-capacity drives are 1 terabyte.
At the simplest level, a hard disk is not that different from a cassette tape. Both hard disks and cassette tapes use the same magnetic recording techniques. Hard disks and cassette tapes also share the major benefits of magnetic storage -- the magnetic medium can be easily erased and rewritten, and it will "remember" the magnetic flux patterns stored onto the medium for many years.

Cassette Tape vs. Hard Disk
Let's look at the big differences between cassette tapes and hard disks:
The magnetic recording material on a cassette tape is coated onto a thin plastic strip. In a hard disk, the magnetic recording material is layered onto a high-precision aluminum or glass disk. The hard-disk platter is then polished to mirror-type smoothness.
With a tape, you have to fast-forward or reverse to get to any particular point on the tape. This can take several minutes with a long tape. On a hard disk, you can move to any point on the surface of the disk almost instantly.
In a cassette-tape deck, the read/write head touches the tape directly. In a hard disk, the read/write head "flies" over the disk, never actually touching it.
The tape in a cassette-tape deck moves over the head at about 2 inches (about 5.08 cm) per second. A hard-disk platter can spin underneath its head at speeds up to 3,000 inches per second (about 170 mph or 272 kph)!
The information on a hard disk is stored in extremely small magnetic domains compared to a cassette tape's. The size of these domains is made possible by the precision of the platter and the speed of the medium.
Because of these differences, a modern hard disk is able to store an amazing amount of information in a small space. A hard disk can also access any of its information in a fraction of a second.

Capacity and Performance
A typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes. Data is stored onto the disk in the form of files. A file is simply a named collection of bytes. The bytes might be the ASCII codes for the characters of a text file, or they could be the instructions of a software application for the computer to execute, or they could be the records of a data base, or they could be the pixel colors for a GIF image. No matter what it contains, however, a file is simply a string of bytes. When a program running on the computer requests a file, the hard disk retrieves its bytes and sends them to the CPU one at a time.
There are two ways to measure the performance of a hard disk
Data rate
The data rate is the number of bytes per second that the drive can deliver to the CPU. Rates between 5 and 40 megabytes per second are common.
Seek time
The seek time is the amount of time between when the CPU requests a file and when the first byte of the file is sent to the CPU. Times between 10 and 20 milliseconds are common.
The other important parameter is the capacity of the drive, which is the number of bytes it can hold.

Electronics Board
The best way to understand how a hard disk works is to take a look inside. (Note that OPENING A HARD DISK RUINS IT, so this is not something to try at home unless you have a defunct drive.)
Here is a typical hard-disk drive:
Hard Disk Drive
It is a sealed aluminum box with controller electronics attached to one side. The electronics control the read/write mechanism and the motor that spins the platters. The electronics also assemble the magnetic domains on the drive into bytes (reading) and turn bytes into magnetic domains (writing).
The electronics are all contained on a small board that detaches from the rest of the drive:
Inside Hard Disk
Inside Computer Hard Disk

Beneath the Board
Underneath the board are the connections for the motor that spins the platters, as well as a highly-filtered vent hole that lets internal and external air pressures equalize:
Inside Hard Disk: Beneath the Board
Removing the cover from the drive reveals an extremely simple but very precise interior:
Beneath the Board
In this picture you can see :
The Platters
These typically spin at 3,600 or 7,200 rpm when the drive is operating. These platters are manufactured to amazing tolerances and are mirror-smooth .
Hard Disk Platter
The Arm
This holds the read/write heads and is controlled by the mechanism in the upper-left corner. The arm is able to move the heads from the hub to the edge of the drive. The arm and its movement mechanism are extremely light and fast. The arm on a typical hard-disk drive can move from hub to edge and back up to 50 times per second -- it is an amazing thing to watch!
Inside Hard Disk- the Arm

Platters and Heads
In order to increase the amount of information the drive can store, most hard disks have multiple platters.
This drive has three platters and six read/write heads:
Platters and Heads
Platters and Heads
The mechanism that moves the arms on a hard disk has to be incredibly fast and precise. It can be constructed using a high-speed linear motor.
INSIDE HARD DISK
Many drives use a "voice coil" approach -- the same technique used to move the cone of a speaker on your stereo is used to move the arm.

Storing the Data
Data is stored on the surface of a platter in sectors and tracks.
Tracks are concentric circles, and sectors are pie-shaped wedges on a track, like this:
Hard Disk Tracks
A typical track is shown in yellow; a typical sector is shown in blue. A sector contains a fixed number of bytes -- for example, 256 or 512. Either at the drive or the operating system level, sectors are often grouped together into clusters.
The process of low-level formatting a drive establishes the tracks and sectors on the platter. The starting and ending points of each sector are written onto the platter. This process prepares the drive to hold blocks of bytes. High-level formatting then writes the file-storage structures, like the file-allocation table, into the sectors. This process prepares the drive to hold files.

What is inside hard disk?
First disks had a simple design. They had one or more rotating platters and a moving arm with read/write heads attached to it - one head on each side of the platter. The arm could move and stop at the certain number of positions. When it stopped each head could read or write data on the underlying track. Every read or write had to be done in blocks of bytes, called sectors. Sectors were usually 512 bytes long and there were fixed number of sectors on each track.
Hard Disk Internals
The drives themself didn't have much electronics and had to be controlled by CPU for every single step. First CPU had to issue command to position the arm. Then it had to instruct the drive which head should perform read and from which sector. After that CPU waited until the desired sector was moving under the head and started data transfer. This design was relatively simple and inexpensive. But there were several disadvantages.
First of all, each Input/Output operation involved a lot of CPU attention and, also, the disk surface was used inefficiently. It was convenient for the programmers to have fixed number of sectors on each track, but it was a waste of space, because the longer outer tracks could hold much more data than the shorter inner ones. Later, when digital electronics became cheap, hardware engineers could resolve this problem.
When IDE (Integrated Drive Electronics) disks came out they had a little processor on each drive. This helped to free up CPU time by implementing more sophisticated set of commands. The disk space was also used more efficiently. Engineers had placed more sectors on the outer tracks, but still provided software writers with a convenient "cubical" look of the disk by doing internal translation of CHS (cylinders, heads, sectors). For example my old 340M disk has only two platters = 4 heads (sides), but it reports 665 cylinders, 16 heads (sides), and 63 sectors. In reality it, probably, has more then 4*63 sectors on each outer track and a little less than 4*63 on the most inner tracks, but we could never know for sure.
With the IDE disks CPU only has to tell the CHS of the sector that it wants to read and drive's electronics will position the heads and call back the CPU when it is ready to start data transfer.
The newest drives have even simpler interface. Instead of addressing sectors by their CHS (cylinder, head, sector) address they use LBA (Logical Block Addressing) mode. In LBA mode a program has to tell only number of the sector from the beginning of the disk (all sectors on disk are numbered 0, 1, 2, 3, ... ). In addition to that new disks have internal buffers, where they can store many sectors. This can speed up disk access a lot, because they could read data in buffer using all four heads at the same time.
Virtually all modern operating systems use LBA addressing, but the CHS notation is still around. First of all, MS-DOS, which is almost 20 years old, uses only CHS. Also some programs, like Partition Magic, would not work if partitions do not start at the cylinder or side boundary. And finally, it is easier to talk about hundreeds of cylinders than about millions of sectors.
The maximum allowable values for CHS addressing mode are 0..1023, 0..255, 1..63 for cylinders, heads, and sectors respectively. If you multiply these values you will see that the largest hard disk that could be addressed with CHS is 8G. Therefore, if your disk is 12G many programs will see only 8G, because they use CHS.

How disks are partitioned?
All hard disks on all IBM compatible computers have the same way of partitioning. First sector of the disk, called MBR (Master Boot Record), which we will be discussing in details later, contains partition table. This table has four records, each of them can describe one partition.
In the simplest case we would have all disk space assigned to one partition, like in the following example:
MBR FAT-16 Disk Partition
Note that MBR occupies one sector at cylinder 0, side 0, sector 1 and partition starts on the cylinder 0, side 1, sector 1. The 62 sector gap between them was left unused, because we want all partitions to start at the cylinder boundary or, at least, on the side boundary. This is not required with LBA, but we need to follow this rule in order to make happy old software (MS-DOS for example).
Another important point that I want to make is that Operating System and File System are different things, which many people use interchangeably. Operating System is a piece of software which controls CPU and lets different application programs to run on the computer and use different system resources. The File System is a way to organize files and directories on the hard disk. The confusion comes because every decent operating system has one or more of its own file systems and they become clousely associated.
In our example all we know is that we have FAT-16 file system. And we have no idea which operating system is installed on it. It could be MS-DOS 6.22, it could be Windows 95 or NT, or it could be all three of them installed in the different directories in the same partition. If we put additional efforts we could even install there Linux, but it is usually better to have different operating systems installed in separate partitions.
Another reason to have multiple partitions is the security against computer crushes. For example, if the system crushes in such a way that FAT tables get corrupted you will lose access to all your files, because FAT table tells where each file is located on the disk. The FAT table is so important that they decided to keep two copies of FAT table at the beginning of the disk. But in case if you have very valuable files, it, might be wise to create second partition (then it will have its own FATs) and keep copies of important files there.
However, do not rush to create the second partition. First of all, experience shows that 99% of errors damage only one copy of FAT and, secondly, for the majority of users it would be sufficient to copy their personal work to the floppy once a week and keep it in the safe place. So, in the case of a crash, they would only have to reformat the disk and reinstall all programs. Now, regardless of the reason, let's see what happens if we have multiple partitions.
In the second example we have two partitions with the FAT-16 file system. For some reason makers of DOS decided that if you want to have second or third FAT partition you have to put them not in MBR but into the Extended DOS partition. Extended partition appears like an ordinary partition in MBR (it occupies space) and inside it has a table similar to partition table in MBR, called EMBR (Extended MBR), which lists partititions enclosed in the extended partition. Inside of extended partition you can have one more FAT partition and the reference to the next extended partition, then another FAT, and so forth, as long as you have drive letters for them (D:, E:, F:, ... ). All those partitions have special name: logical drives, on contrary to the first FAT partition C:, listed in MBR, which is primary partition.
MBR FAT-16 Extended Partition
We can only speculate about the reasons for choosing such design, but there are two very obvious ones. First one is that partition table has only four records and you couldn't have more than four partitions if you didn't have extended partitions. To understand the second reason you have to know that, according to Microsoft, you can have only one primary partition on the disk and you cannot boot from the logical drives, which means that you cannot have more than one DOS-like operating system on the computer, which is another way to cut off the competitors. In fact, you can have more than one primary FAT partition and we will show later how to do that.
Also note that FAT tables in the second partition are smaller than in the first one. It obviously happens because the second partition is smaller. The FAT tables has one entry for each cluster in the partition - it contains number of the next cluster in the chain. There is one chain of clusters for each file. Number of the first cluster of the file is stored in the directory entry for that file, along with file size, attributes, and last modification date. Space for the directories other than root is allocated among the data clusters, just as if they were ordinary files. Only root directory has special location.
FAT-16/FAT-32 File Allocation Table internal structure
The name of the file system is FAT-16 because it has FAT (File Allocation Table) and also because each entry in FAT is 16-bits long (2 bytes). This means that FAT-16 partition cannot have more than 65,535 clusters (2^16 = 65,536). Similarly FAT-32 has 32-bit entries and could address up to 2^32 clusters. (Actually they use only 28 bits). Based on that we can calculatete maximum partition sizes for FAT file systems.
Here is the table:
Cluster
size
File system type
FAT-12

FAT-16

FAT-32

2K 8M 128M 512G
4K 16M 256M 1024G
8K 32M 512M 2048G
16K 64M 1G 2048G
32K 128M 2G 2048G
Partition size Recommended file system / cluster size
1-16M FAT-12 / 4K
16-256M FAT-16 / 4K
256-512M FAT-16 / 8K
512M-1G FAT-16 / 16K or FAT-32 / 4K
1-8G FAT-32 / 4K
8G and up FAT-32 / 8K
The next example shows coexistance of DOS and Linux on the same disk and some more insights on the structure of the extended partition. Beginners can skip it and go to the next section.
MBR FAT-16 Ext2fs Linux Swap Partition
First of all, this configuration could be derived from Example 2 if I we shrink both FAT partitions and then install Linux. Also you probably noticed that Linux native file system uses different way of organizing files than does FAT file system. The main structure is called i-node table. There is one i-node allocated for each file. The i-node keeps file size, attributes and file creation, last modification, and last access times. Unlike FAT file system directories have only file names and i-node numbers. The space allocation also differs from FAT, but it is out of the scope of our discussion.
If you study carefully cylinder numbers in the third example you will see that extended partition has three EMBR tables each one is stored at the beginning of the extended partition and keeps a record about FAT (or other) partition and the pointer to the next extended partition. Note that first extended partition encloses all FAT and extended partitions, but all other extended partitions (level 2, 3, ... ) enclose only one data partitions.
And finally I want to say, that even though this was the real partitioning scheme on my hard disk it has some drawbacks. First of all, Linux swap partition is located at the end of the disk, far from the Linux root partition. It turned out that disk heads kept going long way back and forth all the time, decreasing system performance. It is much better to place swap partition as close as possible to the partition where the OS is installed. Also some people think that if they put Windows swap file into the separate partition computer will work faster. This is true only if that partition is located on the separate hard drive, which is faster or as fast as the first one. Placing swap file on the old slow drive will not do any good. It is much better to set in the Control Panels fixed size for the swap file equal to the amount of RAM and place it on C:. Then you can run Norton Speed Disk which will optimize swap file.