Git Product home page Git Product logo

ashutiwari4 / pfs_filesystem Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 16.66 MB

Implementation a Portable File System (PFS) with Linked Allocation Method in JAVA, Which can perform "Allocate a file", and "Move file system from OS file system into my file". It has it's own directory structure, allocation table, etc. inside your file. Move files back out of your file to the Windows file system or Linux/Unix file system.

Java 100.00%
java filesystem

pfs_filesystem's Introduction

PFS_FileSystem

                        ▒█▀▀█ ▒█▀▀▀ ▒█▀▀▀█   ▒█▀▀▀ ░▀░ █░░ █▀▀ █▀▀ █░░█ █▀▀ ▀▀█▀▀ █▀▀ █▀▄▀█
                        ▒█▄▄█ ▒█▀▀▀ ░▀▀▀▄▄   ▒█▀▀▀ ▀█▀ █░░ █▀▀ ▀▀█ █▄▄█ ▀▀█ ░░█░░ █▀▀ █░▀░█
                        ▒█░░░ ▒█░░░ ▒█▄▄▄█   ▒█░░░ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▄▄▄█ ▀▀▀ ░░▀░░ ▀▀▀ ▀░░░▀

READ ME FILE FOR "A PORTABLE FILE SYSTEM USING LINKED ALLOCATION METHOD"

Steps to execute the project in Linux Shell -

  1. Compile the project using the javac mFilename.java
  2. To execute the project use java mFilename

The running programs accepts the following commands :

  1. open PFSfile - Allocates a new 10 KByte "PFS" file if it does not already exist. If it does exist, begin using it for further commands.
  2. put fileName - Copy file "fileName" into your PFS file.
  3. get fileName - Extract file "fileName" from your PFS file and copy it to the current filesystem directory.
  4. rm fileName - Delete "fileName" from your PFS file.
  5. recover filename - Recovers deleted file from your PFS file.
  6. dir - List the files in the PFS file.
  7. putr fileName "Remarks" - Append remarks to the directory entry for fileName in the PFS file.
  8. kill PFSfile - Delete the PFSfile from the file system.
  9. quit - Exit PFS.

*************** ------------------ ------------------- ^!^ ------------------ ------------------ ***************

Limitations :

  1. This program is configured to show the operations on the Desktop.
  2. The file size should not exceed more than 10 bytes
  3. Keep in mind username should not be separated by space

Assumptions :
1) Abstracting file system on an existing file system provided by the operating system. The file system implemented here is called portable file system.


pfs_filesystem's People

Contributors

ashutiwari4 avatar

Stargazers

 avatar Achyuth avatar

Watchers

James Cloos avatar  avatar

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.