<<

25/03/2014

Chapter Contents

Operating Systems • Section A: and File Management • Section B: Today’s Operating Systems • Section C: File Basics • Section D: File Management • Section E: Backup Security

Chapter 4: Operating Systems and File Management 2

Operating System Basics Operating System Activities

• Operating System Activities • An operating system is a type of system • User Interfaces software that acts as the master controller • The Boot for all activities that take place within a computer system

Chapter 4: Operating Systems and File Management 3 Chapter 4: Operating Systems and File Management 4

Operating System Activities Operating System Activities

• Multitasking provides process and memory management services that allow two or more tasks, jobs, or programs to run simultaneously • Within a single program, multithreading allows multiple parts, or threads, to run simultaneously • An operating system’s capability supports a division of labor among all the processing units

Chapter 4: Operating Systems and File Management 5 Chapter 4: Operating Systems and File Management 6

1 25/03/2014

Operating System Activities User Interfaces

• Operating System Categories • The combination of hardware and software – Single-user operating system that helps people and computers – Multiuser operating system communicate with each other – Server operating system – Desktop operating system

Chapter 4: Operating Systems and File Management 7 Chapter 4: Operating Systems and File Management 8

User Interfaces The Boot Process

• Menus, submenus, and dialog boxes • During the boot process, the operating system kernel is loaded into RAM – The kernel provides essential operating system services • Your computer’s small bootstrap program is built into special ROM circuitry housed in the computer’s system unit

Chapter 4: Operating Systems and File Management 9 Chapter 4: Operating Systems and File Management 10

The Boot Process Today’s Operating Systems

Windows • Mac OS • UNIX and • DOS • Handheld Operating Systems

Chapter 4: Operating Systems and File Management 11 Chapter 4: Operating Systems and File Management 12

2 25/03/2014

Microsoft Windows Mac OS

You can tell when you’re using Mac OS by the Apple logo that appears on the menu bar. The Mac OS X interface includes all the standard elements of a GUI, including icons, menus, windows, and taskbars.

Chapter 4: Operating Systems and File Management 13 Chapter 4: Operating Systems and File Management 14

Mac OS Mac OS

• Mac OS X on an Intel Mac offers the ability to run Windows and Windows in addition to software designed On a Macintosh computer with Boot for the Macintosh Camp, you can boot into Mac OS X or – Dual boot into Windows.

Chapter 4: Operating Systems and File Management 15 Chapter 4: Operating Systems and File Management 16

UNIX and Linux UNIX and Linux

• Several Web sites offer a Linux distribution, which is a package that contains the Linux kernel, system utilities, Linux users can choose from applications, and an installation routine several graphical interfaces. Pictured here is the popular KDE graphical desktop.

Chapter 4: Operating Systems and File Management 17 Chapter 4: Operating Systems and File Management 18

3 25/03/2014

DOS Handheld Operating Systems

• Disk Operating System • First operating system that many used

Chapter 4: Operating Systems and File Management 19 Chapter 4: Operating Systems and File Management 20

File Basics File Names and Extensions

• File Names and Extensions • You must adhere to file-naming • File Directories and Folders conventions when saving files – Maximum length • File Formats – Prohibited characters – No reserved words – Case sensitivity • File extensions are usually related to the – Native file format

Chapter 4: Operating Systems and File Management 21 Chapter 4: Operating Systems and File Management 22

File Directories and Folders File Formats

• An operating system maintains a • Windows uses a file association list to link for each disk, tape, CD, DVD, or USB a file extension to its corresponding flash drive application software – Root directory • Although a file extension is a good – Subdirectory indicator of a file’s format, it does not really • Depicted as folders define the format • A computer’s file location is defined by a – A file header is a section of data at the file specification, or beginning of a file that contains information C:\Music\Reggae\Marley One Love.mp3 about a file

Chapter 4: Operating Systems and File Management 23 Chapter 4: Operating Systems and File Management 24

4 25/03/2014

File Formats File Formats

• A software application can files that exist in its native file format, plus several An easy way to convert a file additional file formats from one format to another is to open it with an application that supports both file formats, and then use the Save As dialog box to select an alternative file format.

Chapter 4: Operating Systems and File Management 25 Chapter 4: Operating Systems and File Management 26

Application-based File File Management Management • Application-based File Management • Applications typically provide a way to • File Management Utilities open files and save them in a specific • File Management Metaphors folder on a storage device • Windows Explorer • File Management Tips • Physical File Storage

Chapter 4: Operating Systems and File Management 27 Chapter 4: Operating Systems and File Management 28

Application-based File File Management Utilities Management • File management

The Save As dialog box utilities show you the of most Windows files stored on your applications uses the operating system’s file disks and help you management utility, so work with them you can carry out a wide variety of file and folder tasks such as creating, renaming, and deleting files.

Chapter 4: Operating Systems and File Management 29 Chapter 4: Operating Systems and File Management 30

5 25/03/2014

File Management Metaphors Windows Explorer

• Storage metaphors help you visualize and mentally organize the files on your disks Windows Explorer – Logical storage models makes it easy to drill down through the levels of the directory hierarchy to locate a folder or file.

Chapter 4: Operating Systems and File Management 31 Chapter 4: Operating Systems and File Management 32

Windows Explorer File Management Tips

• Windows Explorer allows you to • Use descriptive names manipulate files and folders in the • Maintain file extensions following ways: • Group similar files – Rename • Organize your folders from the top down – Copy – Move • Consider using the default folders – Delete • Do not data files and program files

Chapter 4: Operating Systems and File Management 33 Chapter 4: Operating Systems and File Management 34

File Management Tips Physical File Storage

• Don’t store files in the root directory • The physical storage model describes • Access files from the hard disk what happens on the disks and in the • Follow copyright rules circuits when files are stored – Storage media must be formatted before it • Delete or archive files you no longer need can store files • Be aware of storage locations • Formatting utilities divide the disk into tracks and • Back up sectors

Chapter 4: Operating Systems and File Management 35 Chapter 4: Operating Systems and File Management 36

6 25/03/2014

Physical File Storage Physical File Storage

• The CDs and DVDs can be created using mastering or keeps track of the packet-writing techniques. names and Mastering creates disks that can be used more locations of files reliably on a wide variety of computers and – NTFS standalone players. Packet • Master File Table writing is more flexible for (MFT) disks that you plan to use only on your own – FAT32 computer. • (FAT)

Chapter 4: Operating Systems and File Management 37 Chapter 4: Operating Systems and File Management 38

Physical File Storage Physical File Storage

• Deleting a file changes the status of that • Fragmented files are stored in file’s clusters to empty and removes the noncontiguous clusters and decrease file name from the index file performance – The file’s data is still there • Defragmentation utilities rearrange files so – File shredder software overwrites ―empty‖ that they are stored in contiguous clusters sectors with random 1s and 0s • Files in the Windows Recycle Bin and similar utilities can be undeleted

Chapter 4: Operating Systems and File Management 39 Chapter 4: Operating Systems and File Management 40

Backup Security Backup Basics

• Backup Basics • A backup stores the files needed to • Data File Backup recover data that’s been wiped out by • System Backup operator error, viruses, or hardware failures • Boot and Recovery Disks

Chapter 4: Operating Systems and File Management 41 Chapter 4: Operating Systems and File Management 42

7 25/03/2014

Backup Basics Backup Basics

• Your backup schedule depends on how much data you can afford to lose • You should run an up-to-date virus check as the first step in your backup routine • The backup device you select depends on the value of your data, your current equipment, and your budget

Chapter 4: Operating Systems and File Management 43 Chapter 4: Operating Systems and File Management 44

Data File Backup Data File Backup

• Most computers are equipped with a writable CD • To restore from a data file backup, you or DVD drive with adequate storage capacity for simply copy files from your backup to your a typical computer owner’s data files hard disk • Store all files to be backed up in the same location • Back up Internet connection information, e-mail folders, e-mail address book, favorite URLs, downloads and validation codes, and other configuration information

Chapter 4: Operating Systems and File Management 45 Chapter 4: Operating Systems and File Management 46

System Backup System Backup

• To make a backup, you can use backup software • Backup software is supplied with most tape drives and other backup devices

Chapter 4: Operating Systems and File Management 47 Chapter 4: Operating Systems and File Management 48

8 25/03/2014

System Backup System Backup

• A full backup makes a fresh copy of every file in the folders you’ve specified for the backup • A differential backup makes a backup of only Restore points back up personal those files that were added or changed since preferences and configuration settings stored in the Windows your last full backup session Registry. You can manually • An incremental backup makes a backup of the create restore points or let Windows create them files that were added or changed since the last automatically whenever you backup—not necessarily the files that changed add new software or hardware. from the last full backup • Most experts recommend that you keep more than one set of backups

Chapter 4: Operating Systems and File Management 49 Chapter 4: Operating Systems and File Management 50

Boot and Recovery Disks Boot and Recovery Disks

• A boot disk is a removable storage • A recovery disk loads hardware drivers and medium containing the operating system user settings as well as the operating system files needed to boot your computer without – Sometimes included with new computer systems accessing the hard disk – Available on the Web – Windows • Recovery partition Installation CD

Chapter 4: Operating Systems and File Management 51 Chapter 4: Operating Systems and File Management 52

Boot and Recovery Disks Boot and Recovery Disks

• You can create a custom recovery CD that contains your computer’s current settings and device drivers • Norton Ghost is a product of Symantec, which also provides a more specialized recovery disk called the Symantec Recovery Disk • Certain PC manufacturers have pre-installed Norton Ghost and the recovery environment on some of their computers

Chapter 4: Operating Systems and File Management 53 Chapter 4: Operating Systems and File Management 54

9