Preview

operating system

Good Essays
Open Document
Open Document
654 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
operating system
OPERATING SYSTEM - FILE SYSTEM http://www.tutorialspoint.com/operating_system/os_file_system.htm Copyright © tutorialspoint.com

File
A file is a named collection of related information that is recorded on secondary storage such as magnetic disks, magnetic tapes and optical disks.In general, a file is a sequence of bits, bytes, lines or records whose meaning is defined by the files creator and user.

File Structure
File structure is a structure, which is according to a required format that operating system can understand.
A file has a certain defined structure according to its type.
A text file is a sequence of characters organized into lines.
A source file is a sequence of procedures and functions.
An object file is a sequence of bytes organized into blocks that are understandable by the machine.
When operating system defines different file structures, it also contains the code to support these file structure.
Unix, MS-DOS support minimum number of file structure.

File Type
File type refers to the ability of the operating system to distinguish different types of file such as text files source files and binary files etc. Many operating systems support many types of files. Operating system like MS-DOS and UNIX have the following types of files:

Ordinary files
These are the files that contain user information.
These may have text, databases or executable program.
The user can apply various operations on such files like add, modify, delete or even remove the entire file.

Directory files
These files contain list of file names and other information related to these files.

Special files:
These files are also known as device files.
These files represent physical device like disks, terminals, printers, networks, tape drive etc.
These files are of two types
Character special files - data is handled character by character as in case of terminals or printers.
Block special files - data is handled in blocks as in the case of disks and

You May Also Find These Documents Helpful

  • Best Essays

    Nt1310 Unit 4 Exercise 1

    • 1486 Words
    • 6 Pages

    Phase 4: Uploading of files to HDFS: Both of the files, local index file and merged file are written to HDFS which avoid overhead involved in keeping the information at NameNode. NameNode keeps the information of merged file and index file only. File correlations are considered when storing the files to improve the access efficiency.…

    • 1486 Words
    • 6 Pages
    Best Essays
  • Satisfactory Essays

    Nt2670 Unit 7 Lab 1

    • 402 Words
    • 2 Pages

    7. In case the file is opened another application in the future for modifying the file, such as adding more content either text, pictures, etc.…

    • 402 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A student writes a report using a word processor, saving the report in a file called my report. The student stores the file on his laptop hard disk drive. Later, he posts the file on a file-sharing site for a classmate to review the report. Then, he copies an updated version of the file to a flash drive to submit it to his instructor. Which of the following are some of the important features supplied by files as defined by a computer OS? (choose three answers)…

    • 957 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 1 Study Guide

    • 1178 Words
    • 5 Pages

    A Database is generally used for storing data in a structured way in an efficient manner for insert, update and retrieval of data in well defined formats. On the other hand, in file system the data stored in unstructured manner with an unrelated data.…

    • 1178 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    |File – Is a place where data is stored on a computer, there are many different types of files and most if not all data is stored in a file. |…

    • 829 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    file system An operating system component that provides a means for storing and organizing files so that users can easily locate…

    • 4603 Words
    • 19 Pages
    Good Essays
  • Powerful Essays

    Pt2520 Unit 6

    • 1447 Words
    • 6 Pages

    It occurs when we can change the file structure without affecting the accessibility of the data.…

    • 1447 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Nt1330 Unit 1 Assignment

    • 4639 Words
    • 19 Pages

    Computers store data ondisks using files, which are structured in specific ways in order to allow for faster access, higher reliability, and to make better use out of the drive's available space. The specific way in which files are stored on a disk is called a file system, and enables files to have names and attributes. It also allows them to be stored in a hierarchy of directories or folders arranged in a directory tree.…

    • 4639 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    Like Linux, NTFS uses inodes for the same purpose which means inodes has similar functionality and purpose in its two implementations (Pitafi, 2007).…

    • 706 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Guide to Unix Chapter 2

    • 999 Words
    • 4 Pages

    4. You’re frantically trying to get ready for a meeting and want to access a file in your…

    • 999 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Unit 2 Explore and Discuss

    • 1383 Words
    • 6 Pages

    C.1.a) POSIX - a family of standards specified by the IEEE for maintaining compatibility between operating systems.…

    • 1383 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    RYS 1

    • 389 Words
    • 2 Pages

    Used to store a copy of your data in case your main file becomes corrupted and needs to be restored…

    • 389 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pos 421 Week 4 Assignment

    • 667 Words
    • 3 Pages

    The common file system used for most all of Windows versions including: Windows NT, Windows 2000, Windows XP, and all successors to these versions are the New Technology File System or NTFS. This file system has taken the place of the File Allocation Table or FAT file system and the High Performance File System or HPFS. The NTFS allows for better metadata support as well as advanced data sets giving the versions more performance, space, and security extensions. These upgrades have become the standard for today’s use until the release of better technology.…

    • 667 Words
    • 3 Pages
    Good Essays
  • Good Essays

    70-643 Lesson 2

    • 579 Words
    • 3 Pages

    Folder redirection - A useful feature that lets users save thier files to a network location…

    • 579 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    It states how it must be stored e.g. securely and how it must be disposed of, this includes both paper and electronic files.…

    • 3715 Words
    • 13 Pages
    Powerful Essays

Related Topics