forked from xuos/xiuos
Add USB folders
This commit is contained in:
parent
3a99cc550c
commit
0b43c65650
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
// Block size
|
// Block size
|
||||||
#define BLOCK_SIZE 512
|
#define BLOCK_SIZE 512
|
||||||
#define NR_BIT_BLOCKS 2
|
#define NR_BIT_BLOCKS 8
|
||||||
|
|
||||||
// bits size
|
// bits size
|
||||||
#define BITS 8
|
#define BITS 8
|
||||||
|
|
|
@ -49,7 +49,7 @@ Modification:
|
||||||
#define ROOT_INUM 1 // root inode number
|
#define ROOT_INUM 1 // root inode number
|
||||||
#define BLOCK_SIZE 512 // block size
|
#define BLOCK_SIZE 512 // block size
|
||||||
#define NR_BIT_PER_BYTE 8
|
#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_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
|
#define nr_inodes 200 // total number of inodes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue