Skip to content

A simple FAT based user level file system implementation written in C.

Notifications You must be signed in to change notification settings

cyusuftas/FAT-Based-User-Level-File-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

FAT-Based-User-Level-File-System

A simple FAT based user level file system implementation written in C.

Usage:

You need to have a file named 'disk' at the directory where myfs.c is located. It can perform following operations: Format, Write, Read, Delete and List.

Compile the source code by using gcc:

gcc -o myfs myfs.c -lm

First format the disk by using -format option:

./myfs disk -format

Then files can be copied into disk by using -write option:

./myfs disk -write source_file dest_file

The files inside disk can be copied to elsewhere by using -read option:

./myfs disk -read source_file dest_file

Any file in the disk can be deleted by using -delete option:

./myfs disk -delete file

Files can be listed any time by using -list option(Names and sizes are printed):

./myfs disk -list

TODO:

Defragmentation, Renaming, Duplicating, Hiding & Unhiding.

About

A simple FAT based user level file system implementation written in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages