emmafs/util.h
Emma Nora Theuer caf7b99f2d Initial Commit
2024-10-08 23:01:29 +02:00

19 lines
275 B
C

#ifndef BLOCK_H_
#define BLOCK_H_
#include <stdint.h>
#define BLOCKSIZE 4096
#define BITS_PER_INODE 16384
typedef struct block block;
struct block {
char data[BLOCKSIZE];
};
// Provide fs size in bytes
int find_number_of_inodes(uint64_t fs_size);
#endif // BLOCK_H_