• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

File Management - Operating Systems

Free essay example:

Ricki Lambert

Operating Systems

File Management

Introduction

Within this assignment I shall be looking at the processes contained within the file management system of the operating system.

Task

In the picture below we can see the process being undertaken by the file management system. The two core functions that it must do are;

  • Naming the files
  • Storing the files

The file manager will interact with the input output subsystem and will result in the locating of the files. Normally the files are stored on an output device. From here the memory management is used to apply the dynamic linking which in turn provides us with a file to be run. It is then the process management that will undertake the completion of opening the file. From reading this it is evident that the four main stages of the operating system need to combine in order for a file to be run. This is a basic summary; there are many more features that need to be talked about for file management and they will be outlined further.

image00.png

When a user creates a file it is stored on the hard drive, or removable media.  This is given a human name, for example ricki.doc. From here the programme is run by the operating system searching for a particular attribute. How does it do this? Well, it needs a SFID. An SFID is system file identification. Every file or folder is given one of these when created on the system. This allows the operating system to associate every file that’s created with a number accordingly.

File Structure

Every file has to have a certain structure; this structure will therefore contain certain properties. Every file contains data; this is in the form of binary but is not measure in bit form, only in byte form. This is then stored in the summary and this is where all file information can be found.

image01.png

Each file type also as its own structure and some are more complex than others. Complex file structures actually consist of certain file formats. This can range from .doc to .xcl. There is no limit to word file and can be of any size, this makes it a variable file length. This is not true for excel, .xcl so this is a fixed length.

File formats can also be convertible, they are said to be portable formats. They can be used from one operating system to another, for example an .exe can be used on a Linux machine, and this is called a re-locatable object file. This compatibility is all decided when the operating system is designed and therefore cannot change unless it is updated.

File Attributes

A file can have many properties that make it individual; these are called its attributes. For example, a file can have the following attributes;

  • Name
  • Identifier – this is its unique SFID
  • Type
  • Location
  • Size
  • Protection – this can be read only etc.
  • Time and date and the creators identification

Naming Files

The SFID is always given to a file when it is created, this SFID is always declared as a whole number, and thus the integer data type is given to it. When I open a file the dynamic linking system needs to locate from physical to virtual address. To do so it must use the SFID.

When a file is to be run it is stored in to what is known as a Meta data table this can be seen below;

image02.png

With a file the user should be able to do the following tasks;

  • Create a file
  • Write a file
  • Read a file
  • Reposition within a file
  • Delete a file
  • Compress a file

It’s now important to consider why we name files. Naming files is used to locate important documents with ease. This saves time when lots of documents are stored. How do we do this if for example, on a college network two people save the same file name? This is overcome by using what is known as partitioning. Partitioning allows multiple users to use the same file names without corrupting individual SFID’s. Below we can see an examp,e of the level one directory, this is an example of one person with differing files saved in the dame location. The level 1 directory has the following problems, names of files and folders would need to be different in order for there to be no conflict in the SFID.

image03.png

The level two directories differ from the one level directory in the fact that I can possess features of differing users. To avoid issues with SFID we can have partitioned spaces on the non volatile storage space to avoid clashes. Here we can see an example;

The two level directories has four user names in the image above and this means that people users do not have the issue of saving files as the same name and possibly effecting the SFID.

User file Identification – UFID

User file identification is used when there are multiple folders, files open. Let’s say for example there are 5 files open within the operating system, this will open separate SFID’s for all of them. To avoid problems each programme is given a UFID, normally using numbers, in this case one to 5 and is stored in the R.A.M. This is only a temporary measure and is deleted when the programme is closed. This makes switching and changing between documents far more efficient.

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

(?)
Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Related AS and A Level Computer Science Skills and Knowledge Essays

See our best essays

Related AS and A Level Computer Science essays

  1. Marked by a teacher

    The systems development life cycle (SDLC) is a conceptual model used in project management ...

    3 star(s)

    By creating sophisticated interactive prototypes, it's even possible to model use-cases and operational sequences through a design. This allows for particular operations to be tested and refined without the enormous effort that would be required if a design were to be implemented without prototyping.

  2. Peer reviewed

    information systems assignment 2

    4 star(s)

    The data is often summarised from an information system. The main use of this sort of system is where management or other workers would like to ask the same question on a regular basis repeatedly, although about different topics. Questions used within this are often listing certain areas of data in order for management to make analysis and planning.

  1. Peer reviewed

    Operating systems. In this article, we are going to make a comparison between ...

    3 star(s)

    This system has a flaw as well. Creation of journel requires a large disk space and hence reducing the size of usable space on the disk. As far as the system calls are concerned, Mac uses POSIX which is a standard set of system calls for UNIX.

  2. Computer systems assignment 1

    When the cleaning is done I screw the metal bit on to the computer and the case making sure the screws are firmly inside. I've done all the activities with special care for my own safety as well as making sure not to damage the computer.

  1. With diagrams compare and contrast the relative advantages and disadvantages of digital transmission over ...

    Its small size and weight, impressive bandwidth and large spacing between repeaters make it a clear winner in guided communications for the foreseeable future. The media selections depends on many factors including: > The network type > The Cost > The distance of Transmission > The Security > The Error

  2. Smart Card System

    c) The server will wait if there is any request from the client to read from the database. The proposed system is mainly consists of three different kinds of user, namely, students, staffs and supervisor. All these levels of user will have their own roles and responsibilities towards the proposed system.

  1. Firewall Protection

    you already have one, this is yet another possible use of it. Blocking or Limiting the NetBIOS Communication? (as well as other default services) The two common methods of intruders to break into home computers, are through a RAT (which was discussed in II.3a)

  2. Discuss the impact that file format, compression techniques, image resolution and colour depth have ...

    applications so this is extremely helpful with regards to editing or viewing the image. It is additionally an exceptionally helpful document design as all desktop scanners can create TIFF pictures. TIFF designed documents must be dependent upon 4GB space, the product application Adobe Photoshop CS CS2 CS3 do support with

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work