Skip to content

benjaminxxie/File-System-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Hey! I'm Filing Here

In this lab, I successfully implemented the 1 MiB ext2 file system with 2 directories, 1 regular file, and 1 symbolic link.

Building

make & make clean TODO

Running

./ext2-create # run the executable to create cs111-base.img

dumpe2fs cs111-base.img # dumps the filesystem information to help debug

fsck.ext2 cs111-base.img # this will check that your filesystem is correct

mkdir mnt # create a directory to mnt your filesystem to sudo mount -o loop cs111-base.img mnt # mount your filesystem, loop lets you use a file ls -ain mnt/ # list all files TODO

Cleaning up

sudo umount mnt # unmount the filesystem when you're done rmdir mnt # delete the directory used for mounting when you're done make clean TODO

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors