Add USB folders

This commit is contained in:
xj 2024-06-02 23:16:08 -07:00
parent 3a99cc550c
commit 0b43c65650
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
// Block size
#define BLOCK_SIZE 512
#define NR_BIT_BLOCKS 2
#define NR_BIT_BLOCKS 8
// bits size
#define BITS 8

View File

@ -49,7 +49,7 @@ Modification:
#define ROOT_INUM 1 // root inode number
#define BLOCK_SIZE 512 // block size
#define NR_BIT_PER_BYTE 8
#define NR_BIT_BLOCKS 2
#define NR_BIT_BLOCKS 8
#define nr_blocks_total (BLOCK_SIZE * NR_BIT_PER_BYTE * NR_BIT_BLOCKS) // total number of blocks (including used blocks and free blocks)
#define nr_inodes 200 // total number of inodes