Rohini 77612759119
Rohini 77612759119
– First sector of all disks contains a system area, the boot record, and a file structure
database
• OS assigns these cluster numbers, called logical addresses
Disk Partitions
• A partition is a logical drive
• Windows OSs can have three primary partitions followed by an extended partition that
can contain one or more logical drives
• Hidden partitions or voids
– Large unused gaps between partitions on a disk
• Partition gap
– Unused space between partitions
• Microsoft OSs allocate disk space for files by clusters – Results in drive slack
• Unused space in a cluster between the end of an active file and the end of the cluster
• Drive slack includes:
– RAM slack and file slack
• An unintentional side effect of FAT16 having large clusters was that it reduced
fragmentation
– As cluster size increased
• When this first assigned cluster is filled and runs out of room
– FAT assigns the next available cluster to the file
• If the next available cluster isn’t contiguous to the current cluster
– File becomes fragmented
Deleting FAT Files
• In Microsoft OSs, when a file is deleted
– Directory entry is marked as a deleted file
• With the HEX E5 character replacing the first letter of the filename
• FAT chain for that file is set to 0
• Data in the file remains on the disk drive
• Area of the disk where the deleted file resides becomes unallocated disk space
– Available to receive new data from newly created files or other files needing more
space
NTFS Disks
• NT File System (NTFS)
– Introduced with Windows NT
– Primary file system for Windows 8
• Improvements over FAT file systems
– NTFS provides more information about a file
– NTFS gives more control over files and folders
• NTFS was Microsoft’s move toward a journaling file system
– It records a transaction before the system carries it out
• In NTFS, everything written to the disk is considered a file
• On an NTFS disk
– First data set is the Partition Boot Sector
– Next is Master File Table (MFT)
• NTFS results in much less file slack space
• Clusters are smaller for smaller disk drives
• Windows administrators can recover a key in two ways: through Windows or from an MS-
DOS command prompt
• MS-DOS commands
– cipher
– copy
– efsrecvr (used to decrypt EFS files) Deleting NTFS Files
• When a file is deleted in Windows NT and later
– The OS renames it and moves it to the Recycle Bin
• Can use the Del (delete) MS-DOS command
– Eliminates the file from the MFT listing in the same way FAT does Resilient File
System
• Resilient File System (ReFS) - designed to address very large data storage needs – Such as
the cloud
– Initial startup
– Boot loader
– Hardware detection and configuration
– Kernel loading
– User logon
• Startup Files for Windows Vista:
– The Ntldr program in Windows XP used to load the OS has been replaced with these
three boot utilities:
• Bootmgr.exe
• Winload.exe
• Winresume.exe
– Windows Vista includes the BCD editor for modifying boot options and updating
the BCD registry file
– The BCD store replaces the Windows XP boot.ini file
• Startup Files for Windows XP:
– NT Loader (NTLDR)
– Boot.ini
– Ntoskrnl.exe
– Bootvid.dll
– Hal.dll
– BootSect.dos
– NTDetect.com
– NTBootdd.sys
– Pagefile.sys
– When you start a Windows XP NTFS workstation, several files are accessed
immediately
• The last access date and time stamp for the files change to the current date and time
• That shows when a Windows XP workstation was last used 2.7 Describe MS-DOS startup
tasks
MS-DOS uses three files when starting, with the same names as in Windows 9x/Me: Io.sys,
Msdos.sys, and Command.com.
Two other files are then used to configure MS-DOS at startup: Config.sys and
Autoexec.bat.
Although MS-DOS and Windows 9x use some of the same startup filenames, there are
some important differences between the files in these OSs.
Io.sys is the first file loaded after the ROM bootstrap loader finds the disk drive. Io.sys
then resides in RAM and provides the basic input and output service for all MS-DOS
functions.
Msdos.sys is the second program to load into RAM immediately after Io.sys.
As mentioned, this file is the actual OS kernel, not a text file as in Windows 9x
and Me.
After Msdos.sys finishes setting up DOS services, it looks for the Config.sys file to
configure device drivers and other settings.
Config.sys is a text file containing commands that typically run only at system startup to
enhance the computer’s DOS configuration.
Msdos.sys then loads Command.com, which contains the same internal DOS commands
in MS-DOS 6.22 as in Windows 9x. As the loading of Command.com nears completion,
Msdos.sys looks for and loads Autoexec.bat, a batch file containing customized settings
for MS-DOS that runs automatically.
In this batch file, you can define the default path and set environmental variables, such
as temporary directories. MS-DOS then accesses and resets the last access dates and
times on files when powered up.
• Virtual machine
– Allows you to create a representation of another computer on an existing physical
computer .A virtual machine is just a few files on your hard drive
– Must allocate space to it
• A virtual machine recognizes components of the physical machine it’s loaded on
– Virtual OS is limited by the physical machine’s OS .