Search

Tuesday, May 19, 2009

NTFS vs. FAT File System in Windows XP

To NTFS or not to NTFS—that is the question. But unlike the deeper questions of life, this one isn't really all that hard to answer. For most users running Windows XP, NTFS is the obvious choice. It's more powerful and offers security advantages not found in the other file systems. But let's go over the differences among the files systems so we're all clear about the choice. There are essentially three different file systems available in Windows XP: FAT16, short for File Allocation Table, FAT32, and NTFS, short for NT File System.

FAT16

The FAT16 file system was introduced way back with MS–DOS in 1981, and it's showing its age. It was designed originally to handle files on a floppy drive, and has had minor modifications over the years so it can handle hard disks, and even file names longer than the original limitation of 8.3 characters, but it's still the lowest common denominator. The biggest advantage of FAT16 is that it is compatible across a wide variety of operating systems, including Windows 95/98/Me, OS/2, Linux, and some versions of UNIX. The biggest problem of FAT16 is that it has a fixed maximum number of clusters per partition, so as hard disks get bigger and bigger, the size of each cluster has to get larger. In a 2–GB partition, each cluster is 32 kilobytes, meaning that even the smallest file on the partition will take up 32 KB of space. FAT16 also doesn't support compression, encryption, or advanced security using access control lists.

FAT32

The FAT32 file system, originally introduced in Windows 95 Service Pack 2, is really just an extension of the original FAT16 file system that provides for a much larger number of clusters per partition. As such, it greatly improves the overall disk utilization when compared to a FAT16 file system. However, FAT32 shares all of the other limitations of FAT16, and adds an important additional limitation—many operating systems that can recognize FAT16 will not work with FAT32—most notably Windows NT, but also Linux and UNIX as well. Now this isn't a problem if you're running FAT32 on a Windows XP computer and sharing your drive out to other computers on your network—they don't need to know (and generally don't really care) what your underlying file system is.

The Advantages of NTFS

The NTFS file system, introduced with first version of Windows NT, is a completely different file system from FAT. It provides for greatly increased security, file–by–file compression, quotas, and even encryption. It is the default file system for new installations of Windows XP, and if you're doing an upgrade from a previous version of Windows, you'll be asked if you want to convert your existing file systems to NTFS. Don't worry. If you've already upgraded to Windows XP and didn't do the conversion then, it's not a problem. You can convert FAT16 or FAT32 volumes to NTFS at any point. Just remember that you can't easily go back to FAT or FAT32 (without reformatting the drive or partition), not that I think you'll want to.

The NTFS file system is generally not compatible with other operating systems installed on the same computer, nor is it available when you've booted a computer from a floppy disk. For this reason, many system administrators, myself included, used to recommend that users format at least a small partition at the beginning of their main hard disk as FAT. This partition provided a place to store emergency recovery tools or special drivers needed for reinstallation, and was a mechanism for digging yourself out of the hole you'd just dug into. But with the enhanced recovery abilities built into Windows XP (more on that in a future column), I don't think it's necessary or desirable to create that initial FAT partition.

When to Use FAT or FAT32

If you're running more than one operating system on a single computer you will definitely need to format some of your volumes as FAT. Any programs or data that need to be accessed by more than one operating system on that computer should be stored on a FAT16 or possibly FAT32 volume. But keep in mind that you have no security for data on a FAT16 or FAT32 volume—any one with access to the computer can read, change, or even delete any file that is stored on a FAT16 or FAT32 partition. In many cases, this is even possible over a network. So do not store sensitive files on drives or partitions formatted with FAT file systems.

Tuesday, May 5, 2009

Use Infrared Data Transfer to Connect Computers and Devices

You can connect your computer to other nearby computers and devices without wires, using infrared light to transfer data, the same way your TV remote control sends signals. Most new portable computers have built–in infrared transceivers, and Windows XP supports the Infared Data Association (IrDA) standards and protocols, allowing you to connect with such devices as printers, modems, digital pagers, personal digital assistants, electronic cameras, organizers, cellular phones, and hand–held computers.

Steps to Establish an Infrared Link
  1. Verify that the devices you want to connect with have infrared functionality enabled and work correctly.

    For information about verifying infrared functionality on your computer, see below. For information about verifying infrared functionality on other devices, see the device manufacturer's documentation.

  2. Align your devices so that the infrared transceivers are within one meter of each other, and the transceivers are pointing at each other.

    When the devices are correctly aligned, the icon appears on the taskbar.

    • The infrared transceiver is the small, dark red window on your portable computer, printer, digital camera, adapter, or other device.
    • You can choose whether to hide or display the Wireless Link taskbar icon when two infrared devices are aligned. By default, the Wireless Link taskbar icon is displayed.

Steps to Verify Infrared Support on your Computer

  1. Verify that your computer has an infrared transceiver (the transceiver will appear as a small, dark red window).

    If your computer does not have an infrared transceiver, see your manufacturer's documentation to verify whether IrDA functionality is supported. You could also consider adding a IrDA card which can found at most good computer supply shops.

  2. Open Device Manager. Click Start, and then click Control Panel. Click Printers and Other Hardware, and then click System in the left panel. On the Hardware tab, click Device Manager.

  3. Double–click Infrared Devices.

    If you have an infrared transceiver, but Infrared Devices does not appear in Device Manager, you do not have an infrared device installed.

    If no infrared devices are listed, do one or both of the following:

    • Enter BIOS setup to verify whether the infrared device is enabled in BIOS, in IrDA, or Fast IrDA (FIR) mode. For information about how to enter BIOS setup, see your computer manufacturer's documentation. If the infrared device is disabled in BIOS, you might be able to use your computer's BIOS setup to enable it.
    • Warning: Using a BIOS setup utility incorrectly can cause your computer to operate incorrectly. Microsoft cannot guarantee that problems resulting from the incorrect use of the BIOS setup can be solved. Use this utility at your own risk. Before you make any changes, make a note of the original settings so that you can reinstate them if necessary.

    • See your computer manufacturer's documentation to determine whether the BIOS needs to be updated.

      Note: Verify that at least one infrared device is listed and that it is enabled.

      If infrared devices are listed but they are not enabled, verify that the infrared devices are installed correctly on your computer. Infrared transceivers are now installed in nearly all new portable computers. If your computer does not have an infrared transceiver, but it supports IrDA, and IrDA is enabled in BIOS, you can install an external infrared transceiver.