Ds Unit-5
Ds Unit-5
NTFS: NTFS is the file system, which stands for NT file system and stores and retrieves
files on Windows NT operating system and other versions of Windows like Windows 2000,
Windows XP, Windows 7, and Windows 10. Sometimes, it is known as the New
Technology File System. As compared to the FAT and HPFS file system, it provides better
methods of file recovery and data protection and offers a number of improvements in
terms of extendibility, security, and performance.
UDF: A UDF is a file system, stands for Universal Disk Format and used first developed by
OSTA (Optical Storage Technology Association) in 1995 for ensuring consistency among
data written to several optical media. It is used with CD-ROMs and DVD-ROMs and is
supported on all operating systems. Now, it is used in the process of CD-R's and CD-RW's,
called packet writing.
Disk Space allocation :- The allocation of disk space for compressed file systems is the
same as that of fragments in fragmented file systems. A logical block is allocated 4096
bytes when it is modified. This allocation guarantees that there will be a place to store the
logical block if the data does not compress.
File Allocation Table (FAT):- is a file system developed for personal computers and was
the default filesystem for MS-DOS and Windows 9x operating systems.[3] Originally
developed in 1977 for use on floppy disks, it was adapted for use on hard disks and other
devices. The increase in disk drives capacity required three major
variants: FAT12, FAT16 and FAT32. FAT was replaced with NTFS as the default file system
on Microsoft operating systems starting with Windows XP.[4]
Indexed
An indexed file contains records ordered by a record key. A record key uniquely
identifies a record and determines the sequence in which it is accessed with respect
to other records.
Each record contains a field that contains the record key. A record key for a record
might be, for example, an employee number or an invoice number.
An indexed file can also use alternate indexes, that is, record keys that let you
access the file using a different logical arrangement of the records. For example,
you could access a file through employee department rather than through
employee number.
The possible record transmission (access) modes for indexed files are sequential,
random, or dynamic. When indexed files are read or written sequentially, the
sequence is that of the key values.
Sequential file
Storing and sorting in contiguous block within files on tape or disk is called
as sequential access file organization.
In sequential access file organization, all records are stored in a sequential order. The
records are arranged in the ascending or descending order of a key field.
Sequential file search starts from the beginning of the file and the records can be added
at the end of the file.
In sequential file, it is not possible to add a record in the middle of the file without
rewriting the file.
Hashing
Concepts :-
Hashing in the data structure is a technique of mapping a large chunk of data into
small tables using a hashing function. It is also known as the message digest function. It
is a technique that uniquely identifies a specific item from a collection of similar items.
It uses hash tables to store the data in an array format. Each value in the array has been
assigned a unique index number. Hash tables use a technique to generate these unique
index numbers for each value stored in an array format. This technique is called the hash
technique.
Linear Hashing :-