Coder Social home page Coder Social logo

fsaccess's Introduction

V6 FILE SYSTEM

Objective: To initialise UNIX V6 file system to that supports files up to 4GB.

Description:

In fsaccess.c we have doubled all the fields of the super block by increasing then size of the blocks to 1024. Also, we have expanded the free array. We have achived the objective of removing the limitation of 16MB on filesize.

To execute program, the following steps are to be followed:

  1. cc fsaccess.c to compile

  2. ./a.out to run the program

  3. initfs command to initialize file system as the following example, where first parameter is the name of the disk, second parameter is the total number of blocks of the disk and the third is the number of i-nodes it should support:

    initfs ./disk 8000 00

After creating file system commands from 4 to 7 are available for executing:

  1. Create a new file called v6-file in the v6 file system and fill the contents of the newly created file with the contenrs of the external file as follows:

    cpin externalfile v6-file

  2. If the v6-file exists, create externalfile and make the externalfile's contents equal to v6-file:

    cpout v6-file externalfile

  3. If v6-dir doesn't exist, create the directory and set its first two entries . and .. :

    mkdir v6-dir

  4. remove the file if exists:

    rm v6-file

  5. to exit enter q

Project Done By: Balnur Duisenbayeva, Gaurav Sawant

fsaccess's People

Contributors

duisenbayeva avatar

Watchers

 avatar

Forkers

ajay2java2dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.