Skip to content

sandrewh/fsstudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fsstudy: Simple drivers for vfat, ext2, mbr, gpt

Status

  • vfat: read/write support
  • ext2/3: read support
  • hfsp: not functional
  • ntfs: not functional

Examples

Use mbr to determine a disk's partitions:

./mbr /dev/disk0

example usage of vfat driver: vfat/main.c

./vfat -o [lba partition offset] -f [file/disk path] [cmd] [cmd parameters]

To list the root directory contents

./vfat -f /dev/disk0 -o 0x3f ls /

To output a file's contents to stout

./vfat -f /dev/disk0 -o 0x3f read /test.txt

To write to a file

./vfat -f /dev/disk0 -o 0x3f write /dir/test.out < test.in

example usage of ext2 driver: ext2/main.c

Contact

Andy Hanna andysah@gmail.com

About

Simple drivers for vfat, ext2, mbr, gpt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages